LightComponent constructor

LightComponent({
  1. LightKind kind = LightKind.point,
  2. Color color = const Color(0xFFFFFFFF),
  3. double intensity = 10.0,
  4. double range = 0.0,
  5. double innerConeAngle = 0.0,
  6. double outerConeAngle = 0.7853981633974483,
})

A light of kind.

Implementation

LightComponent({
  this.kind = LightKind.point,
  this.color = const Color(0xFFFFFFFF),
  this.intensity = 10.0,
  this.range = 0.0,
  this.innerConeAngle = 0.0,
  this.outerConeAngle = 0.7853981633974483,
});