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

Ring

Dimensions

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

Radius of the inner hole of the ring.

Default: 1

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

Radius of the outer edge of the ring.

Default: 1

Mesh

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

Number of segments. A higher number means the ring will be more round.

Default: 32

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

Number of triangles within each face defined by segmentsTheta.

Default: 8

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