Defines all Camera perspective options

interface CameraPerspectiveOptions {
    fov?: number;
    near?: number;
    far?: number;
    width?: number;
    height?: number;
    pixelRatio?: number;
}

Hierarchy (view full)

Properties

fov?: number

Camera perspective field of view. Should be greater than 0 and lower than 180

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

width?: number

Camera frustum width

height?: number

Camera frustum height

pixelRatio?: number

Camera pixel ratio