Strata - v1.4.10
    Preparing search index...

    Interface CameraTransitionConfig

    Configuration for a camera transition.

    interface CameraTransitionConfig {
        duration?: number;
        easing?: (t: number) => number;
        from: Vector3;
        fromLookAt?: Vector3;
        onComplete?: () => void;
        to: Vector3;
        toLookAt?: Vector3;
    }
    Index

    Properties

    duration?: number

    Duration of the transition in seconds. Default: 1.0.

    easing?: (t: number) => number

    Easing function (t: 0..1) -> 0..1. Defaults to easeInOutCubic.

    from: Vector3

    Starting world position.

    fromLookAt?: Vector3

    Starting look-at target.

    onComplete?: () => void

    Callback fired when the transition completes.

    to: Vector3

    Target world position.

    toLookAt?: Vector3

    Target look-at target.