CylinderGeneratorConfig

class cee.utils.CylinderGeneratorConfig()

The cylinder generator configuration object, see CylinderGenerator.

Properties

cee.utils.CylinderGeneratorConfig.direction

optional

direction: Vec3

The symetric, longitudinal axis of the cylinder. It will grow from the origin in this direction.

cee.utils.CylinderGeneratorConfig.height

optional

height: number

Cylinder’s height along the direction.

cee.utils.CylinderGeneratorConfig.numConcentricSegmentsInCaps

optional

numConcentricSegmentsInCaps: number

Number of concentric ‘tree rings’ segments in both caps of the cylinder.

cee.utils.CylinderGeneratorConfig.numSegmentsZdirection

optional

numSegmentsZdirection: number

Number of segments along the direction of the cylinder, in other words slices which are parallel to the caps.

cee.utils.CylinderGeneratorConfig.numSlices

optional

numSlices: number

Number of ‘cake slices’ going trough both caps and the walls of the cylinder.

cee.utils.CylinderGeneratorConfig.origin

optional

origin: Vec3

The origin point of the cylinder, which is the bottom center point.

cee.utils.CylinderGeneratorConfig.radius

optional

radius: number

The radius of the cylinder.