Bitbybit Docs
    Preparing search index...

    Class OrthographicDto (Inputs.BabylonCamera)

    Feeds babylon.camera.makeCameraOrthographic with a camera and the four edges of its flat, distance-free view.

    Index

    Constructors

    • Parameters

      • Optionalcamera: Camera
      • OptionalorthoLeft: number
      • OptionalorthoRight: number
      • OptionalorthoTop: number
      • OptionalorthoBottom: number

      Returns OrthographicDto

    Properties

    camera: Camera

    The camera to switch to orthographic projection

    orthoLeft: number

    The left edge of the view, in scene units from the camera's axis; 0 falls back to -1

    -1
    

    -Infinity

    Infinity

    1

    orthoRight: number

    The right edge of the view, in scene units from the camera's axis; 0 falls back to 1

    1
    

    -Infinity

    Infinity

    1

    orthoBottom: number

    The bottom edge of the view, in scene units from the camera's axis; 0 falls back to -1

    -1
    

    -Infinity

    Infinity

    1

    orthoTop: number

    The top edge of the view, in scene units from the camera's axis; 0 falls back to 1

    1
    

    -Infinity

    Infinity

    1