An object defining all possible Camera class instancing parameters.

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

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.