OptionalcolorLinear RGB color multiplier. Adopted by reference.
OptionalintensityLuminous intensity in candela (SpotLight.intensity).
OptionalrangeMaximum range (SpotLight.range).
OptionalinnerFull-bright cone half-angle in degrees (SpotLight.innerAngle).
OptionalouterFade-to-zero cone half-angle in degrees (SpotLight.outerAngle).
OptionalcastWhether the light casts a shadow map (SpotLight.castShadow).
OptionalprojectionCookie/projector texture (SpotLight.projectionTexture).
OptionaliesIES profile LUT index (SpotLight.iesProfileIndex).
Construction options for SpotLight. Every field is optional and maps to the like-named property; omitted fields keep the property default. There is no
position/direction— a spot light is placed and aimed by its GameObject's transform; see SpotLight.worldPosition / SpotLight.worldDirection.