Interface PerspectiveProjectionParams

Defines the base parameters to create a perspective projection Mat4.

interface PerspectiveProjectionParams {
    near?: number;
    far?: number;
    fov?: number;
    aspect?: number;
}

Hierarchy (View Summary)

Properties

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.

fov?: number

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

aspect?: number

Perspective aspect ratio (width / height). Default to 1.