Class Index | File Index

Classes


Class Camera


Extends SceneNode.

Defined in: Camera.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Camera(name)
Method Summary
Method Attributes Method Name and Description
 
translate(x, y, z)
 
 
calculates the current view matrix and stores it in _viewMatrix.
Methods borrowed from class SceneNode:
addChild, addTime, asTreeString, getGlobalDirection, getInverseGlobalTransformation, getInverseLocalTransformation, getLocalDirection, getSideVector, getUpVector, getViewVector, lookAt, render, rotate, rotateX, rotateY, rotateZ, scale, setParent, toString
Class Detail
Camera(name)
Parameters:
name
Method Detail
translate(x, y, z)
Parameters:
x
y
z

updateProjectionMatrix()

updateViewMatrix()
calculates the current view matrix and stores it in _viewMatrix. use .viewMatrix if you want to get the matrix.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jun 09 2013 12:38:10 GMT+0200 (CEST)