Interface FixedCameraConfig

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

interface FixedCameraConfig {
    maxRotX?: number;
    minRotX?: number;
    shouldOcclusionBump?: boolean;
    xOffset?: number;
    yOffset?: number;
    zOffset?: 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.

shouldOcclusionBump?: boolean

Whether or not occlusion bumping should be performed. Occlusion bumping prevents the camera's transform from being positioned inside of objects.

xOffset?: number

The camera's x offset relative to the target.

yOffset?: number

The camera's y offset relative to the target.

zOffset?: number

The camera's z offset relative to the target.