public class MrCameraData extends MrObjectData
mName, mSceneObjType, mShaderProgram, mTransform, mUniformGenerators, mUniformKeys
Constructor and Description |
---|
MrCameraData(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() |
void |
initializeUniforms() |
void |
setLens(MrLens lens) |
void |
setLookAt(MrVector3f lookAt) |
void |
setUp(MrVector3f up) |
getName, getSceneObjectType, getShaderProgram, getTransform, getUniformGenerators, getUniformKeys, setTransform, setUniformGenerators, setUniformKeys
public MrCameraData(java.lang.String name, MrTransform transform, java.util.Map<java.lang.String,MrUniformKey> uniformKeys, MrShaderProgram shaderProgram, MrLens lens)
public void initializeUniforms()
initializeUniforms
in class MrObjectData
public MrVector3f getLookAt()
public void setLookAt(MrVector3f lookAt)
public MrVector3f getUp()
public void setUp(MrVector3f up)
public MrLens getLens()
public void setLens(MrLens lens)