HTML5 Canvas 3D WebGL (TM) javaScript Library
 

setPos Library Method

Short Description: Set position of Light Source

Signature: x.setPos (x,y,z)
Class: LightSource Class
 

Modifies the position of the light source. Default values are x = -200; y=-200; z=5000. The method can be called any time, also while an animation is running.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:LightSource.parallaxPos - Set parallax position of Light Source
Previous Page: LightSource Class