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

Torus

Dimensions

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

Radius of the outer edge of the torus.

Default : 1

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

Radius of the tube.

Default : 0.2

Mesh

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

Number of segments along the circumference of the tube ends. A higher number means the tube will be more round.

Default: 36

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

Number of segments along the circumference of the tube face. A higher number means the tube will be more round.

Default: 32

Partial

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

Central angle

Default: 360