AW WORLD LIGHT Z

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 3.0
SDKbuild 16
Worldbuild 23


AW_WORLD_LIGHT_Z

Type

Floating point

Description

Direction of the directional light, along the Z-axis: -1.0 is north (+Z), 1.0 is south (-Z).

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 (north)
Maximum:1.0 (south)
Default:-0.2

See also