Cylinder
A right circular cylinder aligned with the Y axis, centered on the origin (top at +height/2, bottom at -height/2). Side wall + two end caps. segments controls the radial subdivision.
The side wall and the caps use separate vertices (different normals), so this mesh has 4 * (segments + 1) vertices and 4 * segments triangles.
Parameters
Material applied to side and caps, or null while it is still loading.
World-space position of the pivot point.
World-space rotation.
Per-axis scale.
Point in mesh space that rotation/scale revolve around. Defaults to the cylinder centre.
Cylinder radius in mesh space.
Full height along Y in mesh space.
Number of radial subdivisions. Minimum 3.
Whether this renderable is in the scene. False removes it from the scene (cheaply, keeping the entity alive) — a show/hide toggle without losing state.
Whether the cylinder casts shadows onto other renderables. On by default.
Whether the cylinder receives shadows cast by others. On by default.
Runs once when the cylinder enters the scene, with the renderable entity and engine in scope (EntityScope).