| Modifier and Type | Method and Description |
|---|---|
void |
increaseDistance(float value)
Increases distance of the camera, that is the camera moves along its local
-Z axis by value units. |
void |
move(float x,
float y,
float z)
Translates the camera by a vector.
|
void |
move(Vector3f v)
Translates the camera by a vector.
|
void |
set(float posX,
float posY,
float posZ,
float dirX,
float dirY,
float dirZ)
Sets position and direction vectors of the camera.
|
void |
set(Vector3f position,
Vector3f direction)
Sets position and direction vectors of the camera.
|
void |
setDirection(float x,
float y,
float z)
Sets direction vector of the camera.
|
void |
setDirection(Vector3f direction)
Sets direction vector of the camera.
|
void |
setPosition(float x,
float y,
float z)
Sets position vector of the camera.
|
void |
setPosition(Vector3f position)
Sets position vector of the camera.
|
void |
setUp(float x,
float y,
float z)
Sets up vector of the camera.
|
void |
setUp(Vector3f up)
Sets up vector of the camera.
|
getCamera3DType, getDirection, getPosition, getProjectionMatrix, getUp, getViewMatrixgetCameraType, setScreenSizevoid setPosition(Vector3f position)
position - position vector of the camera.void setPosition(float x,
float y,
float z)
x - X component of the position vectory - Y component of the position vectorz - Z component of the position vectorvoid setDirection(Vector3f direction)
direction - direction vector of the camera.void setDirection(float x,
float y,
float z)
x - X component of the direction vectory - Y component of the direction vectorz - Z component of the direction vectorvoid setUp(Vector3f up)
up - up vector of the camera.void setUp(float x,
float y,
float z)
x - X component of the up vectory - Y component of the up vectorz - Z component of the up vectorvoid set(Vector3f position, Vector3f direction)
position - position vector of the camera.direction - direction vector of the camera.void set(float posX,
float posY,
float posZ,
float dirX,
float dirY,
float dirZ)
posX - X component of the position vectorposY - Y component of the position vectorposZ - Z component of the position vectordirX - X component of the direction vectordirY - Y component of the direction vectordirZ - Z component of the direction vectorvoid increaseDistance(float value)
-Z axis by value units.value - void move(Vector3f v)
v - translation vector.void move(float x,
float y,
float z)
x - X component of the translation vector.y - Y component of the translation vector.z - Z component of the translation vector.