Interface SpectateCameraOptions

Options for spectate camera behavior

interface SpectateCameraOptions {
    duration?: number | DurationSettings;
    ease?: EaseType | EaseSettings;
    forcePos?: boolean;
    ignoreTimeScale?: boolean;
    timeScale?: number;
}

Properties

duration?: number | DurationSettings

Duration of transition in milliseconds (single value) or separate X/Y durations

Ease type for smooth transition (single value) or separate X/Y eases

forcePos?: boolean

If true, instantly jump to target. If false, ease to target

ignoreTimeScale?: boolean

If true, ignore global time scale for this spectate

timeScale?: number

Optional per-operation time scale multiplier