Class Camera


  • public class Camera
    extends java.lang.Object
    • Field Detail

      • position

        public final Position position
      • altitudeMode

        public int altitudeMode
      • heading

        public double heading
      • tilt

        public double tilt
      • roll

        public double roll
    • Method Detail

      • set

        public Camera set​(double latitude,
                          double longitude,
                          double altitude,
                          int altitudeMode,
                          double heading,
                          double tilt,
                          double roll)
      • setFieldOfView

        public void setFieldOfView​(double fovyDegrees)
      • getFieldOfView

        public double getFieldOfView()
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • computeViewingTransform

        public Matrix4 computeViewingTransform​(Matrix4 result)
      • getAsLookAt

        public LookAt getAsLookAt​(LookAt result)
      • setFromLookAt

        public Camera setFromLookAt​(LookAt lookAt)