Skip to content

Documentation / @ripl/3d / createCylinder

Function: createCylinder() ​

createCylinder(...options): Cylinder

Defined in: 3d/src/elements/cylinder.ts:112

Factory function that creates a new Cylinder instance.

Parameters ​

ParameterType
...options[Partial<Omit<ElementOptions<CylinderState>, "zIndex">>]

Returns ​

Cylinder