Class Camera
Extends
SceneNode.
Defined in: Camera.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Camera(name)
|
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
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.