TorusGeometry constructor

TorusGeometry([
  1. double radius = 1,
  2. double tube = 0.5,
  3. int radialSegments = 8,
  4. int tubularSegments = 6,
  5. double arc = math.pi * 2,
])

Implementation

TorusGeometry([
  this.radius = 1,
  this.tube = 0.5,
  this.radialSegments = 8,
  this.tubularSegments = 6,
  this.arc = math.pi * 2
]);