LightAttenuation()

语法

LightAttenuation(#Light, Range, Attenuation)
概要
Changes the light attenuation.

参数

#Light The light to use.
Range The light range (in world unit) above which the light won't affect the world anymore.
Attenuation The global attenuation of the light. A value of 0.0 means no global attenuation (it will still attenuate depending of the range). It can be used to adjust the light brightness.

返回值

无.

参阅

SetLightColor()

已支持操作系统

所有

<- IsLight() - Light Index - LightDirection() ->