public class MrCameraController extends MrObjectController
mAttachedObject, mData, mEventsListener, mInitialized, mRender
Constructor and Description |
---|
MrCameraController(java.lang.String name,
MrTransform transform,
java.util.Map<java.lang.String,MrUniformKey> uniformKeys,
MrShaderProgram shaderProgram,
MrLens lens) |
Modifier and Type | Method and Description |
---|---|
MrLens |
getLens() |
MrVector3f |
getLookAt() |
MrVector3f |
getUp() |
MrMatrix4f |
getViewMatrix() |
void |
initializeSizeDependant(int widthScreen,
int heightScreen) |
void |
setLens(MrLens lens) |
getAttachedObject, getData, getEventsListener, getName, getRegisteredEvents, getSceneObjectType, getShaderProgram, getTransform, getUniformGenerators, getUniformKeys, initializeRender, initializeUniforms, isEventRegistered, isInitialized, registerEvent, render, setAttachedObject, setData, setEventsListener, setRender, setTransform, toString, unregisterEvent, updateEvents, updateUniform
public MrCameraController(java.lang.String name, MrTransform transform, java.util.Map<java.lang.String,MrUniformKey> uniformKeys, MrShaderProgram shaderProgram, MrLens lens)
public void initializeSizeDependant(int widthScreen, int heightScreen)
initializeSizeDependant
in class MrObjectController
public MrMatrix4f getViewMatrix()
public MrVector3f getLookAt()
public MrVector3f getUp()
public MrLens getLens()
public void setLens(MrLens lens)