Vizard 8 » Command Index » Vizard objects » node3d » <node3d:light>.spotexponent
8.0

<node3d:light>.spotexponent

Set the spot exponent of the light

<node3d:light>.spotexponent(  
exponent  
)  
exponent
0-128

Higher values attenuate at smaller angles causing a more focused light. Smaller angles makes a more uniforme light spread.

Remarks

Sets the spot exponent of the light which is used to calculate the the attenuation at angles relative to the direction the light is pointing. The default is 0.

Return Value

None

See also

<node3d:light>.direction
<node3d:light>.spread