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

NameTypeDescription
bottomRadius[get, set] doubleBottom radius of the cylinder.
height[get, set] doubleFull height of the cylinder.
radialSegments[get, set] longNumber of radial segments on the cylinder.
rings[get, set] longNumber of edge rings along the height of the cylinder.
topRadius[get, set] doubleTop radius of the cylinder.

Methods

NameDescription
getBottomRadius
getHeight
getRadialSegments
getRings
getTopRadius
setBottomRadius
setHeight
setRadialSegments
setRings
setTopRadius