Struct CylinderMesh
Class representing a cylindrical PrimitiveMesh
.
struct CylinderMesh
;
This class can be used to create cones by setting either the topRadius
or bottomRadius
properties to 0.0.
Properties
Name | Type | Description |
---|---|---|
bottomRadius [get, set]
|
double | Bottom radius of the cylinder. |
height [get, set]
|
double | Full height of the cylinder. |
radialSegments [get, set]
|
long | Number of radial segments on the cylinder. |
rings [get, set]
|
long | Number of edge rings along the height of the cylinder. |
topRadius [get, set]
|
double | Top radius of the cylinder. |
Methods
Name | Description |
---|---|
getBottomRadius
|
|
getHeight
|
|
getRadialSegments
|
|
getRings
|
|
getTopRadius
|
|
setBottomRadius
|
|
setHeight
|
|
setRadialSegments
|
|
setRings
|
|
setTopRadius
|