Interface OrbitCameraConfig

Orbit camera configuration. Describes the behaviour and appearance of camera.

interface OrbitCameraConfig {
    maxRotX?: number;
    minRotX?: number;
    radius?: number;
    yOffset?: number;
}

Properties

maxRotX?: number

The camera's maximum x rotation angle in degrees. This is how far up the camera can look.

minRotX?: number

The camera's minimum x rotation angle in degrees. This is how far down the camera can look.

radius?: number

The camera's radius. This is how far away the camera sits from the target.

yOffset?: number

The camera's y offset relative to the target.