Skip to content

Camera

Functions

  • GetAspectRatio(): Get the width / height aspect ratio
  • GetFov(): Get the vertical field of view, in radians
  • GetOrthoFar(): Get the orthographic far clip distance
  • GetOrthoNear(): Get the orthographic near clip distance
  • GetOrthoSize(): Get the orthographic view height, in world units
  • GetPerspectiveFar(): Get the perspective far clip distance
  • GetPerspectiveNear(): Get the perspective near clip distance
  • SetAspectRatio(): Set the width / height aspect ratio
  • SetFov(): Set the vertical field of view, in radians
  • SetOrthoFar(): Set the orthographic far clip distance
  • SetOrthoNear(): Set the orthographic near clip distance
  • SetOrthoSize(): Set the orthographic view height, in world units
  • SetOrthographic(): Switch to an orthographic projection: (size, near, far)
  • SetPerspective(): Switch to a perspective projection: (verticalFov, near, far)
  • SetPerspectiveNear(): Set the perspective near clip distance