LightData constructor

const LightData({
  1. required LightType type,
  2. String? name,
  3. (double, double, double) color = (1.0, 1.0, 1.0),
  4. double intensity = 1.0,
  5. double? range,
  6. double innerConeAngle = 0.0,
  7. double outerConeAngle = 0.7853981633974483,
})

A light.

Implementation

const LightData({
  required this.type,
  this.name,
  this.color = const (1.0, 1.0, 1.0),
  this.intensity = 1.0,
  this.range,
  this.innerConeAngle = 0.0,
  this.outerConeAngle = 0.7853981633974483,
});