Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.47 KB

decentraland-ecs.cylindershape.md

File metadata and controls

17 lines (13 loc) · 1.47 KB

Home > decentraland-ecs > CylinderShape

CylinderShape class

Properties

Property Access Modifier Type Description
arc number Sets the ratio (max 1) to apply to the circumference to slice the cylinder. Defaults to 360.
openEnded boolean Adds two extra faces per subdivision to enclose the cylinder around its height axis. Defaults to false.
radius `number null`
radiusBottom number The radius of the base of the cylinder. Defaults to 1.
radiusTop number The radius of the top of the cylinder. Defaults to 0.
segmentsHeight number Sets the number of rings along the cylinder height (positive integer). Defaults to 1.
segmentsRadial number Sets the number of cylinder sides (positive integer). Defaults to 36.
tag string