Defines the orthographic shadow camera.

interface OrthographicShadowCamera {
    projectionMatrix: Mat4;
    viewMatrix: Mat4;
    up: Vec3;
    left?: number;
    right?: number;
    bottom?: number;
    top?: number;
    near?: number;
    far?: number;
}

Hierarchy (view full)

Properties

projectionMatrix: Mat4

Orthographic camera projection Mat4.

viewMatrix: Mat4

Orthographic camera view Mat4.

up: Vec3

Up Vec3 used to compute the view Mat4.

left?: number

Left side of the projection near clipping plane viewport. Default to -5.

right?: number

Right side of the projection near clipping plane viewport. Default to 5.

bottom?: number

Bottom side of the projection near clipping plane viewport. Default to -5.

top?: number

Top side of the projection near clipping plane viewport. Default to 5.

near?: number

Projection near plane. Default to 0.1.

far?: number

Projection far plane. Default to 50.