An object defining all possible OrthographicCamera class instancing parameters.

interface OrthographicCameraParams {
    near?: number;
    far?: number;
    pixelRatio?: number;
    onMatricesChanged?: () => void;
    left?: number;
    right?: number;
    bottom?: number;
    top?: number;
}

Hierarchy (View Summary)

Properties

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.

left?: number

Left side of the OrthographicCamera projection near clipping plane viewport. Default to -1.

right?: number

Right side of the OrthographicCamera projection near clipping plane viewport. Default to 1.

bottom?: number

Bottom side of the OrthographicCamera projection near clipping plane viewport. Default to -1.

top?: number

Top side of the OrthographicCamera projection near clipping plane viewport. Default to 1.