gpu-curtains
    Preparing search index...

    Interface CameraParams

    An object defining all possible Camera class instancing parameters.

    interface CameraParams {
        label?: string;
        near?: number;
        far?: number;
        reversePerspective?: boolean;
        pixelRatio?: number;
        onMatricesChanged?: () => void;
    }

    Hierarchy (View Summary)

    Index
    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.

    reversePerspective?: boolean

    Whether to reverse perspective in case of reverse Z scenes handling.

    pixelRatio?: number

    Camera pixel ratio.

    onMatricesChanged?: () => void

    callback to execute when one of the camera matrices changed.