Interface PerspectiveProjectionParams

Defines the base parameters to create a perspective projection Mat4

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

Properties

Properties

fov?: number

Perspective field of view (in radians). Default to 90.

aspect?: number

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

near?: number

Projection near plane. Default to 0.1.

far?: number

Projection far plane. Default to 150.