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

Sphere

Dimensions

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

Radius (in meters) of the sphere.

Default: 1

Mesh

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

Number of horizontal segments.

Default: 18

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

Number of vertical segments.

Default: 36

Partial

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

Horizontal starting angle.

Default: 0

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

Horizontal sweep angle size.

Default: 360

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

Vertical starting angle.

Default: 0

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

Vertical sweep angle size.

Default: 360