LightD constructor
LightD({})
Implementation
LightD({
super.originalPointer,
this.type = .LIGHT_POINT,
this.enabled = false,
Vector3D? position,
Vector3D? target,
ColorD? color,
this.attenuation = 0,
this.enabledLoc = 0,
this.typeLoc = 0,
this.positionLoc = 0,
this.targetLoc = 0,
this.colorLoc = 0,
this.attenuationLoc = 0,
}) :
position = position ?? .zero(),
target = target ?? .zero(),
color = color ?? .zero();