gpu-curtains
    Preparing search index...

    An object defining all possible PerspectiveCamera class instancing parameters.

    interface PerspectiveCameraParams {
        label?: string;
        near?: number;
        far?: number;
        pixelRatio?: number;
        onMatricesChanged?: () => void;
        fov?: number;
        width?: number;
        height?: number;
        forceAspect?: number | false;
    }

    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.

    pixelRatio?: number

    Camera pixel ratio.

    onMatricesChanged?: () => void

    callback to execute when one of the camera matrices changed.

    fov?: number

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

    width?: number

    PerspectiveCamera frustum width.

    height?: number

    PerspectiveCamera frustum height.

    forceAspect?: number | false

    Allow to force the PerspectiveCamera aspect ratio to a defined value. Default to false.