Skip to main content

cylinder()

Creates a cylinder with the given radius and height.

Returns: SceneObject

Signatures

cylinder(radius: number, height: number): SceneObject

Creates a cylinder with the given radius and height.

ParameterTypeDescription
radiusnumberThe cylinder radius
heightnumberThe cylinder height