HyperWorks Desktop

*setlightsource()

*setlightsource()

Previous topic Next topic No expanding text in this topic  

*setlightsource()

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


*setlightsource - Sets the direction of the global light source.

 

SYNTAX


*setlightsource(x,y,z)

 

TYPE


hm.cfg Command

 

DESCRIPTION


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

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.

 

EXAMPLES


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

*setlightsource(1.0,1.0,1.0)

 

ERRORS


None.

 

SEE ALSO


*overridesinglelight()

*setspecularity()

Configuration File Commands