Interface TransitionCameraOptions

Options for transition camera behavior

interface TransitionCameraOptions {
    arrivalEpsilon?: number;
    duration?: number | DurationSettings;
    ease?: EaseType | EaseSettings;
    ignoreTimeScale?: boolean;
    matchVelocity?: boolean;
    onComplete?: () => void;
    spring?: boolean | { maxSpeed?: number; smoothTime?: number };
    timeScale?: number;
}

Properties

arrivalEpsilon?: number

Sub-pixel arrival distance threshold in pixels (default: 0.5)

duration?: number | DurationSettings

Transition duration in milliseconds (single value) or separate X/Y durations

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

ignoreTimeScale?: boolean

If true, ignore global time scale for this transition

matchVelocity?: boolean

If true, matches initial and destination camera velocities using Hermite splines for zero-momentum-hitch C1 continuity

onComplete?: () => void

Optional callback when transition completes

spring?: boolean | { maxSpeed?: number; smoothTime?: number }

If set, uses critically damped spring smoothing instead of fixed-time easing

timeScale?: number

Optional per-operation time scale multiplier