This light gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets. Corresponding THREE.SpotLight. This light can cast shadows.
Properties of VglLight are also available as mixin.
The distance from the light where the intensity is 0. When set to 0, then the light never stops.
The amount the light dims along the distance of the light. For physically correct lighting, set this to 2.
default: [object Object]
Maximum extent of the spotlight, in radians, from its direction. Should be no more than Math.PI/2.
Percent of the spotlight cone that is attenuated due to penumbra. Takes values between zero and 1.
The spotlight’s pointing position.
The THREE.SpotLight instance.