SpotLightRange()

Syntax

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

Parameters

#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.

Return value

None.

Supported OS

All

<- SetLightColor() - Light Index