LightNode constructor
Implementation
LightNode({
this.type = LightType.directional,
Vector3? color,
this.intensity = 1.0,
this.range = 0.0,
bool? castsShadow,
this.innerConeAngle = 0.0,
this.outerConeAngle = math.pi / 4.0,
super.name,
}) : castsShadow = castsShadow ?? type == LightType.directional,
color = color ?? Vector3(1.0, 1.0, 1.0);