Struct CapsuleMesh

Class representing a capsule-shaped PrimitiveMesh.

struct CapsuleMesh ;

Properties

NameTypeDescription
midHeight[get, set] doubleHeight of the capsule mesh from the center point.
radialSegments[get, set] longNumber of radial segments on the capsule mesh.
radius[get, set] doubleRadius of the capsule mesh.
rings[get, set] longNumber of rings along the height of the capsule.

Methods

NameDescription
getMidHeight
getRadialSegments
getRadius
getRings
setMidHeight
setRadialSegments
setRadius
setRings