HTML 5 Canvas Library
 

Eye Class

An object of class Eye represents a/the virtual Eye point of of the scene displayed. The main eye point object is created on initialization and accessible using taccgl.stdEye.

In 3D/WebGL mode currently taccgl™ supports just this single eye.

In 2D mode there can be additional eye points and it is possible to select an eye point per transition. Normally these eye points differ in their origins. This feature is useful to overcome limitations imposed by the parallel projection used by 2D mode, see Eye.origin.

New eye point objects can be created using createEye and Eye.clone.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Eye.setDefault - Set eye point to default position
Previous Page: taccglMaterial.mapScale - Scales the mapped texture
Please Add a Comment or Question, click here!