public class Camera extends ATransformable3D
Constructor and Description |
---|
Camera() |
Modifier and Type | Method and Description |
---|---|
float |
getFarPlane() |
float |
getFieldOfView() |
int |
getFogColor() |
float |
getFogFar() |
float |
getFogNear() |
float |
getNearPlane() |
float[] |
getProjectionMatrix() |
boolean |
getUseRotationMatrix() |
float[] |
getViewMatrix() |
boolean |
isFogEnabled() |
void |
setFarPlane(float farPlane) |
void |
setFieldOfView(float fieldOfView) |
void |
setFogColor(int fogColor) |
void |
setFogEnabled(boolean fogEnabled) |
void |
setFogFar(float fogFar) |
void |
setFogNear(float fogNear) |
void |
setNearPlane(float nearPlane) |
void |
setProjectionMatrix(int width,
int height) |
void |
setRotationMatrix(float[] m) |
void |
setUseRotationMatrix(boolean useRotationMatrix) |
void |
updateFrustum(float[] pMatrix,
float[] vMatrix) |
getOrientation, getPosition, getRotation, getRotX, getRotY, getRotZ, getScale, getScaleX, getScaleY, getScaleZ, getX, getY, getZ, rotateAround, rotateAround, setLookAt, setLookAt, setOrientation, setOrientation, setPosition, setPosition, setRotation, setRotation, setRotX, setRotY, setRotZ, setScale, setScale, setScale, setScaleX, setScaleY, setScaleZ, setX, setY, setZ
public Frustum mFrustum
public float[] getViewMatrix()
public void updateFrustum(float[] pMatrix, float[] vMatrix)
public void setRotationMatrix(float[] m)
public void setProjectionMatrix(int width, int height)
public float[] getProjectionMatrix()
public float getNearPlane()
public void setNearPlane(float nearPlane)
public float getFarPlane()
public void setFarPlane(float farPlane)
public float getFieldOfView()
public void setFieldOfView(float fieldOfView)
public boolean getUseRotationMatrix()
public void setUseRotationMatrix(boolean useRotationMatrix)
public int getFogColor()
public void setFogColor(int fogColor)
public float getFogNear()
public void setFogNear(float fogNear)
public float getFogFar()
public void setFogFar(float fogFar)
public boolean isFogEnabled()
public void setFogEnabled(boolean fogEnabled)