SpotLightRange()

语法

SpotLightRange(#Light, InnerAngle, OuterAngle [, FallOff])
概要
Changes the spot #Light behavior. The light has to be created with the #PB_Light_Spot flag.

参数

#Light The light to use.
InnerAngle Inner angle of the light.
OutterAngle Outer angle of the light.
FallOff Falloff of the light amongst the distance. A value of 1 means a linear falloff, a value less than 1 means a slower falloff while a value greater than 1 means a faster falloff.

返回值

无.

已支持操作系统

所有

<- SetLightColor() - Light Index