Interface TargetInfluenceOptions

Options to use for the target influence.

interface TargetInfluenceOptions {
    averageMaxFrames?: number;
    factor?: number;
    lerpFactor?: number;
    maxLength: number;
}

Properties

averageMaxFrames?: number

The number of frames to remember to smoothen the camera movement. Defaults to 30.

factor?: number

The factor to multiply the influence offset by (before applying maxLength). Defaults to 1.

lerpFactor?: number

The percentage amount to move with each update. A value between 0 and 1. Defaults to 1.

maxLength: number

The maximum length this influence offset can have.