gpu-curtains
    Preparing search index...

    Interface PerspectiveProjectionParams

    Defines the base parameters to create a perspective projection Mat4.

    interface PerspectiveProjectionParams {
        label?: string;
        near?: number;
        far?: number;
        fov?: number;
        aspect?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    label?: string

    Camera default label.

    near?: number

    Camera near plane, the closest point where a mesh vertex is drawn.

    far?: number

    Camera far plane, the farthest point where a mesh vertex is drawn.

    fov?: number

    PerspectiveCamera field of view, in degress. Should be greater than 0 and lower than 180.

    aspect?: number

    Perspective aspect ratio (width / height). Default to 1.