Class Index | File Index

Classes


Class GLGE.Camera


Extends GLGE.Animatable, GLGE.Placeable.
Creates a new camera object
Defined in: glge.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Method gets the current projection matrix of this camera
 
Method generates the cameras view matrix
 
setProjectionMatrix(projection)
Method generates the projection matrix based on the camera paramaters
 
Method generates the cameras view matrix
Methods borrowed from class GLGE.Animatable:
animate, getAnimation, getFrameRate, setAnimation, setFrameRate
Methods borrowed from class GLGE.Placeable:
getDLocX, getDLocY, getDLocZ, getDRotX, getDRotY, getDRotZ, getDScaleX, getDScaleY, getDScaleZ, getLocX, getLocY, getLocZ, getModelMatrix, getPosition, getRotation, getRotMatrix, getRotX, getRotY, getRotZ, getSacleY, getScale, getScaleX, getScaleZ, setDLoc, setDLocX, setDLocY, setDLocZ, setDRot, setDRotX, setDRotY, setDRotZ, setDScale, setDScaleX, setDScaleY, setDScaleZ, setLoc, setLocX, setLocY, setLocZ, setRot, setRotX, setRotY, setRotZ, setScale, setScaleX, setScaleY, setScaleZ
Class Detail
GLGE.Camera()
Method Detail
{Matrix} getProjectionMatrix()
Method gets the current projection matrix of this camera
Returns:
{Matrix} Returns the camera projection matrix

{Matrix} getViewMatrix()
Method generates the cameras view matrix
Returns:
Returns the view matrix based on this camera

setProjectionMatrix(projection)
Method generates the projection matrix based on the camera paramaters
Parameters:
{Matrix} projection
The new projection matrix

{Matrix} updateMatrix()
Method generates the cameras view matrix
Returns:
Returns the view matrix based on this camera

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Dec 21 2009 20:52:54 GMT-0000 (GMT)