LightDirection()

Syntax

LightDirection(#Light, x, y, z)
Description
Changes the direction of a light. The position of the light is not changed.

Parameters

#Light The light to use.
x, y, z The direction vector (usually values between -1.0 and 1.0, if not it will be automatically normalized).

Return value

None.

See Also

LightDirectionX(), LightDirectionY(), LightDirectionZ()

Supported OS

All

<- LightAttenuation() - Light Index - LightDirectionX() ->