Struct SpotLight
A spotlight, such as a reflector spotlight or a lantern.
struct SpotLight
;
A Spotlight is a type of Light
node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance. This attenuation can be configured by changing the energy, radius and attenuation parameters of Light
.
Properties
Name | Type | Description |
---|---|---|
spotAngle [get, set]
|
double | The spotlight's angle in degrees. |
spotAngleAttenuation [get, set]
|
double | The spotlight's angular attenuation curve. |
spotAttenuation [get, set]
|
double | The spotlight's light energy attenuation curve. |
spotRange [get, set]
|
double | The maximal range that can be reached by the spotlight. |