*setlightsource()

Sets the direction of the global light source.

Syntax

*setlightsource(x,y,z)

Type

hm.cfg Commands

Description

Sets the direction of the global light source. The default setting is (0.0,0.0,1.0).

Inputs

x
The x axis location, horizontal direction of the screen.
y
The y axis location, vertical direction of the screen.
z
The z axis location, normal direction of the screen.

Example

To set the light source to (1.0,1.0,1.0)
*setlightsource(1.0,1.0,1.0)