public class MrCamera extends MrObject
Modifier and Type | Class and Description |
---|---|
static class |
MrCamera.Builder
Created by aaron on 16/06/2015.
|
MrObject.MrObjectBuilder
Constructor and Description |
---|
MrCamera(java.lang.String name,
MrTransform transform,
java.util.Map<java.lang.String,MrUniformKey> uniformKeys,
MrShaderProgram shaderProgram,
MrLens lens) |
Modifier and Type | Method and Description |
---|---|
MrCameraController |
getController()
Gets the object controller of this object
|
MrLens |
getLens() |
MrVector3f |
getLookAt() |
MrMatrix4f |
getViewMatrix() |
void |
setLens(MrLens lens) |
addChild, breadthTraversal, depthTraversal, findChild, getByType, getChildren, getEventsListener, getForward, getLocation, getName, getParent, getRegisteredEvents, getRight, getRobottoEngine, getRoot, getRotation, getScale, getSceneObjectType, getShaderProgram, getTransform, getTree, getUniformGenerators, getUniformKeys, getUp, initializeUniforms, isChild, isChild, isEventRegistered, isInitialized, parentKeyChildValueTraversal, parentTraversal, queueEvent, registerEvent, removeChild, rotate, rotate, rotate, rotateAround, rotateAround, scale, scale, scale, setEventsListener, setLocation, setLocation, setLookAt, setLookAt, setRobottoEngine, setRotation, setRotation, setRotation, setScale, setScale, setTransform, setTree, toString, translate, translate, unregisterEvent
public MrCamera(java.lang.String name, MrTransform transform, java.util.Map<java.lang.String,MrUniformKey> uniformKeys, MrShaderProgram shaderProgram, MrLens lens)
public MrCameraController getController()
MrObject
getController
in class MrObject
public MrLens getLens()
public void setLens(MrLens lens)
public MrMatrix4f getViewMatrix()
public MrVector3f getLookAt()