AW WORLD LIGHT X

From ActiveWiki
Revision as of 05:59, 30 November 2008 by Macavity (talk | contribs) (World build)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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