Inheritance: EventDispatcher → Object3D → Light → SpotLight →
A projector light version of SpotLight. Can only be used with WebGPURenderer.
Constructs a new projector light.
color
The light's color.
Default is 0xffffff.
intensity
The light's strength/intensity measured in candela (cd).
Default is 1.
distance
Maximum range of the light. 0 means no limit.
Default is 0.
angle
Maximum angle of light dispersion from its direction whose upper bound is Math.PI/2.
Default is Math.PI/3.
penumbra
Percent of the spotlight cone that is attenuated due to penumbra. Value range is [0,1].
Default is 0.
decay
The amount the light dims along the distance of the light.
Default is 2.
Aspect ratio of the light. Set to null to use the texture aspect ratio.
Default is null.