melonJS
    Preparing search index...

    Interface FrustumOptions

    interface FrustumOptions {
        aspect?: number;
        far?: number;
        fov?: number;
        near?: number;
        orthoHeight?: number;
        orthoWidth?: number;
        projection?: ProjectionMode;
    }
    Index
    aspect?: number

    aspect ratio (width / height) — default 1.0 (square)

    far?: number

    distance to the far clipping plane (default 1000)

    fov?: number

    vertical field of view in radians (default: π / 3 = 60°)

    near?: number

    distance to the near clipping plane (default 0.1)

    orthoHeight?: number

    the height of the view in world units under an orthographic projection (default 2; a Camera3d defaults it to its own height in pixels)

    orthoWidth?: number

    Camera3d only: the width of the view in world units under an orthographic projection, kept across resizes instead of the height (give one or the other; see Camera3d#orthoWidth)

    projection?: ProjectionMode

    how the world is projected (default: "perspective")