3D Lingo Dictionary > O-S > spotDecay

 

spotDecay

Syntax

member(whichCastmember).light(whichLight).spotDecay

Description

3D light property; allows you get or set whether a spotlight's intensity falls off with the distance from the camera. The default value for this property is FALSE.

Example

This statement sets the spotDecay property of light 1 to TRUE. Models that are farther away from light 1 will be less brightly lit than models that are closer to it.

member("Scene").light[1].spotDecay = TRUE