Light constructor
Light({})
Implementation
Light({
super.name = 'light',
this.type = LightType.directional,
this.color = const Color(0xFFFFFFFF),
this.intensity = 1.0,
Vector3? direction,
this.range = 0,
this.spotAngle = 0.5,
}) : direction = direction ?? Vector3(0, -1, 0.5)
..normalize();