@pixi/3d
    Preparing search index...

    Type Alias CameraMode

    CameraMode: "perspective" | "orthographic"

    Projection mode for a Camera3D

    • 'perspective': distant things look smaller, with the view's height set by fov.
    • 'orthographic': no foreshortening, with the view's width set by orthographicSize. Suits isometric games, maps and editors.
    const mode: CameraMode = isometric ? 'orthographic' : 'perspective';

    view.camera.mode = mode;