SetSunDirection( <dir to sun> )


Module: Level
SP Only

Summary:

Overrides the sun direction for a level. Use 'resetSunDirection' to revert to the map's values.



Example:

SetSunDirection( (-0.5, 0.5, -1.0) );



Required Args:

  • 1 : <dir to sun> The direction to the sun. It need not be normalized.