LightD constructor
LightD({})
Implementation
LightD({
super.op,
LightType type = .LIGHT_POINT,
bool enabled = false,
Vector3D? position,
Vector3D? target,
ColorD? color,
double attenuation = 0,
int enabledLoc = 0,
int typeLoc = 0,
int positionLoc = 0,
int targetLoc = 0,
int colorLoc = 0,
int attenuationLoc = 0,
}) :
_type = type,
_enabled = enabled,
_position = position ?? .zero(),
_target = target ?? .zero(),
_color = color ?? .zero(),
_attenuation = attenuation,
_enabledLoc = enabledLoc,
_typeLoc = typeLoc,
_positionLoc = positionLoc,
_targetLoc = targetLoc,
_colorLoc = colorLoc,
_attenuationLoc = attenuationLoc;