HTML 5 Canvas 3D Library
 

LightSource Class

An object of class LightSource represents a virtual Light Source of the scene displayed. Currently taccgl™ supports just a single light source. The corresponding light source object is created during initialization and accessable using stdLight. There are no public methods to create further light sources.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:LightSource.setPos - Set position of Light Source
Previous Page: Eye.clone - Clone Eye Object