Fields

orthographic_zoom:Float

  • Zoom level when the camera is using an orthographic projection

orthographic_projection:Bool

  • Set to use an orthographic projection

@:optionaloptionalorthographic_mode:Null<CameraOrthoMode>

  • Orthographic zoom behavior when orthographic_projection is enabled.

near_z:Float

  • Position of the near clipping plane (distance from camera along relative z)

fov:Float

  • Field of view of the lens, measured as the angle in radians between the right and left edge

far_z:Float

  • Position of the far clipping plane (distance from camera along relative z)

aspect_ratio:Float

  • Aspect ratio of the screen (width divided by height)