shamansir / elm-aframe / AFrame.Components.Geometry.Cylinder

Cylinder

Dimensions

radius : Basics.Float -> AFrame.Properties.Property

Radius of a cylinder.

Default : 1

height : Basics.Float -> AFrame.Properties.Property

Height of a cylinder.

Default : 2

Mesh

segmentsRadial : Basics.Int -> AFrame.Properties.Property

Number of segmented faces around the circumference of the cylinder.

Default: 36

segmentsHeight : Basics.Int -> AFrame.Properties.Property

Number of rows of faces along the height of the cylinder.

Default: 18

openEnded : Basics.Bool -> AFrame.Properties.Property

Whether the ends of the cylinder are open (true) or capped (false).

Default : false

Partial

thetaStart : Basics.Float -> AFrame.Properties.Property

Start angle in degrees.

Default: 0

thetaLength : Basics.Float -> AFrame.Properties.Property

Central angle in degrees.

Default: 360