AW WORLD LIGHT X

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 3.0
SDKbuild 16
Worldbuild 23


AW_WORLD_LIGHT_X

Type

Floating point

Description

Direction of the directional light, along the X-axis: -1.0 is West (+X), 1.0 is East (-X).

Notes

The world's light source "shines onto" the sides of objects facing the light source.

For version 3.2 and earlier: The direction is where the light is shining from. The opposite of what it means in version 3.3 and later.

Range

Minimum:-1.0 (west)
Maximum:1.0 (east)
Default:-0.8

See also