TorusGeometrySpec constructor

TorusGeometrySpec({
  1. double radius = 0.5,
  2. double tubeRadius = 0.15,
  3. int radialSegments = 32,
  4. int tubularSegments = 16,
  5. Map<String, Object?> unknown = const {},
})

Creates a torus spec.

Implementation

TorusGeometrySpec({
  this.radius = 0.5,
  this.tubeRadius = 0.15,
  this.radialSegments = 32,
  this.tubularSegments = 16,
  super.unknown,
});