Interface CameraState

All Known Subinterfaces:
OrthogonalCameraState, PerspectiveCameraState

public interface CameraState
CameraState represents the state of 3d camera including location, direction, up direction and projection mode.

There are two sub interfaces:

Since:
9.12.0
  • Method Summary

    Modifier and Type Method Description
    Vector3d getDirection()
    Returns the direction of the camera as unit vector in 3D space.
    Vector3d getLocation()
    Returns the location of the camera in 3D space.
    Vector3d getUpDirection()
    Returns the up direction of the camera as unit vector in 3D space.
  • Method Details

    • getLocation

      Vector3d getLocation()
      Returns the location of the camera in 3D space.
      Returns:
      the location
      Since:
      9.12.0
    • getUpDirection

      Vector3d getUpDirection()
      Returns the up direction of the camera as unit vector in 3D space.
      Returns:
      the up direction
      Since:
      9.12.0
    • getDirection

      Vector3d getDirection()
      Returns the direction of the camera as unit vector in 3D space.
      Returns:
      the direction
      Since:
      9.12.0