Spot Light Constructor Todo
Creates a new Three JS SpotLight.
Description
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.
This light can cast shadows
Inputs
- color (Color): (optional) hexadecimal color of the light. Default is 0xffffff (white).
- intensity (Number): (optional) numeric value of the light's strength/intensity. Default is 1.
- distance (Number): Maximum range of the light. Default is 0 (no limit).
- angle (Number): Maximum angle of light dispersion from its direction whose upper bound is Math.PI/2.
- penumbra (Number): Percent of the spotlight cone that is attenuated due to penumbra. Takes values between zero and 1. Default is zero.
- decay (Number): The amount the light dims along the distance of the light.
Outputs
- **spotLight ** (ThreeJSSpotLight)