public interface ISphericalCamera extends ICamera3D
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 |
set(float posX,
float posY,
float posZ,
float targetX,
float targetY,
float targetZ)
Sets position and target vectors of the camera.
|
void |
set(Vector3f position,
Vector3f target)
Sets position and target vectors of the camera.
|
void |
setDistance(float cameraDistance)
Sets the camera distance from the target.
|
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 |
setTarget(float x,
float y,
float z)
Sets target vector of the camera.
|
void |
setTarget(Vector3f target)
Sets target vector of the camera.
|
getCamera3DType, getDirection, getPosition, getProjectionMatrix, getUp, getViewMatrix
getCameraType, setScreenSize
void 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 setTarget(Vector3f target)
target
- target vector of the camera.void setTarget(float x, float y, float z)
x
- X component of the target vectory
- Y component of the target vectorz
- Z component of the target vectorvoid set(Vector3f position, Vector3f target)
position
- position vector of the camera.target
- target vector of the camera.void set(float posX, float posY, float posZ, float targetX, float targetY, float targetZ)
posX
- X component of the position vectorposY
- Y component of the position vectorposZ
- Z component of the position vectortargetX
- X component of the target vectortargetY
- Y component of the target vectortargetZ
- Z component of the target vectorvoid increaseDistance(float value)
-Z
axis by value
units.value
- void setDistance(float cameraDistance)
cameraDistance
- camera distance from the target.