Interface Prism

Defines the conventional (near, far, fov, and aspect) quadruple that define a viewport.

interface Prism {
    aspect: number;
    far: number;
    fov: number;
    near: number;
}

Implemented by

Properties

Properties

aspect: number

The aspect ratio of the viewport, i.e., width / height.

far: number

The distance to the far plane of the viewport.

fov: number

The field of view is the angle in the camera horizontal plane that the viewport subtends at the camera. The field of view is measured in radians.

near: number

The distance to the near plane of the viewport.