View that owns this PointLight. When destroyed, the View will destroy this PointLight as well.
The PointLight configuration
True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyID of this PointLight, unique within the View.
Readonly
viewThe View to which this PointLight belongs.
Gets the RGB color of this PointLight.
Default value is [0.7, 0.7, 0.8]
.
The PointLight's RGB color.
Sets the RGB color of this PointLight.
Default value is [0.7, 0.7, 0.8]
.
The PointLight's RGB color.
Gets the constant attenuation factor for this PointLight.
Default value is 0
.
The constant attenuation factor.
Sets the constant attenuation factor for this PointLight.
Default value is 0
.
The constant attenuation factor.
Gets the intensity of this PointLight.
Default value is 1.0
for maximum intensity.
The PointLight's intensity.
Sets the intensity of this PointLight.
Default intensity is 1.0
for maximum intensity.
The PointLight's intensity
Gets the linear attenuation factor for this PointLight.
Default value is 0
.
The linear attenuation factor.
Sets the linear attenuation factor for this PointLight.
Default value is 0
.
The linear attenuation factor.
Gets the position of this PointLight.
This will be either World- or View-space, depending on the value of PointLight.space.
Default value is [1.0, 1.0, 1.0]
.
The position.
Sets the position of this PointLight.
This will be either World- or View-space, depending on the value of PointLight.space.
Default value is [1.0, 1.0, 1.0]
.
The position.
Gets the quadratic attenuation factor for this PointLight.
Default value is 0
.
The quadratic attenuation factor.
Sets the quadratic attenuation factor for this PointLight.
Default value is 0
.
The quadratic attenuation factor.
The coordinate system the PointLight is defined in - "view"
or "space"
.
Protected
cleanProtected
cleanProtected
errorConfigures this PointLight.
Ignores PointLightParams.space, because PointLight.space is not dynamically updatable.
Protected
logProtected
setGets the current configuration of this PointLight.
Protected
warnEmits an event when the Component has been destroyed.
A positional light source within a View.