Skip to main content
Version: Next

Torus Geometry Constructor

Description

Inputs

  • radius (Number): Radius of the torus, from the center of the torus to the center of the tube. Default is 1.
  • tube (Number): Radius of the tube. Default is 0.4.
  • radialSegments (Number): Default is 8
  • tubularSegments (Number): Default is 6.
  • arc (Number): Central angle. Default is Math.PI * 2.

Outputs

  • torus (ThreeJSTorusGeometry): A class for generating torus geometries