Arch3D constructor

Arch3D({
  1. double radius = 1.5,
  2. double thickness = 0.3,
  3. double depth = 0.5,
  4. double angle = math.pi,
  5. int segments = 16,
  6. bool smooth = true,
  7. String material = '',
  8. Color color = defaultColor,
  9. double metallic = 0.0,
  10. double roughness = 0.75,
  11. Color emission = const Color(0xFF000000),
  12. double emissionStrength = 1.0,
  13. double opacity = 1.0,
  14. bool unlit = false,
  15. String texture = '',
  16. Vector2? tiling,
  17. bool tileInMetres = false,
  18. bool castShadows = true,
  19. bool visible = true,
})

A half-round arch 3 m across by default.

Implementation

Arch3D({
  this.radius = 1.5,
  this.thickness = 0.3,
  this.depth = 0.5,
  this.angle = math.pi,
  this.segments = 16,
  this.smooth = true,
  super.material,
  super.color,
  super.metallic,
  super.roughness,
  super.emission,
  super.emissionStrength,
  super.opacity,
  super.unlit,
  super.texture,
  super.tiling,
  super.tileInMetres,
  super.castShadows,
  super.visible,
});