Home > decentraland-ecs > CylinderShape
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 |