Example usage for Java com.badlogic.gdx.graphics Camera fields, constructors, methods, implement or subclass
The text is from its open source code.
void | lookAt(float x, float y, float z) Recalculates the direction of the camera to look at the point (x, y, z). |
Vector3 | project(Vector3 worldCoords) Projects the Vector3 given in world space to screen coordinates. |
void | translate(float x, float y, float z) Moves the camera by the given amount on each axis. |
Vector3 | unproject(Vector3 screenCoords) Function to translate a point given in screen coordinates to world space. |
void | update() Recalculates the projection and view matrix of this camera and the Frustum planes. |