November 2017
Beginner
294 pages
6h 55m
English
A Cylinder is a basic capped cylinder. It can also be used to make cones by making the top a radius of zero (or bottom for a closed funnel).
// Round cylinder //Doric order column<Cylinder radiusTop={.825} radiusBottom={1} dimHeight={8} segments={20} /> // Great Pyramid<Cylinder radiusTop={0} radiusBottom={2.20} dimHeight={2.8} segments={4} />
Note the creative use of the number of sides to make the cone a pyramid. For more information, see https://facebook.github.io/react-vr/docs/cylinder.html.
As with all 3D primitives, the Cylinder has lit, texture, and wireframe props.
Read now
Unlock full access