LightDirection()

语法

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

参数

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

返回值

无.

参阅

LightDirectionX(), LightDirectionY(), LightDirectionZ()

已支持操作系统

所有

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