Strata - v1.4.10
    Preparing search index...

    Interface CinematicPreset

    Cinematic camera path configuration.

    interface CinematicPreset {
        autoPlay?: boolean;
        closed?: boolean;
        duration?: number;
        fov?: number;
        fovKeyframes?: { fov: number; time: number }[];
        lookAt?: Vector3 | RefObject<Object3D<Object3DEventMap>>;
        loop?: boolean;
        makeDefault?: boolean;
        onComplete?: () => void;
        tension?: number;
        type: "cinematic";
    }

    Hierarchy

    Index

    Properties

    autoPlay?: boolean

    Whether to start playing immediately on mount. Default: true.

    closed?: boolean

    Whether the path loops back to the start. Default: false.

    duration?: number

    Total duration of the animation in seconds. Default: 5.

    fov?: number

    Field of view in degrees. Default: 50.

    fovKeyframes?: { fov: number; time: number }[]

    Optional FOV animation keyframes { time: 0..1, fov: degrees }.

    lookAt?: Vector3 | RefObject<Object3D<Object3DEventMap>>

    Optional target to face (Vector3 or Object3D ref). Defaults to path direction.

    loop?: boolean

    Whether to loop the animation indefinitely. Default: false.

    makeDefault?: boolean

    Whether to set this as the default scene camera. Default: true.

    onComplete?: () => void

    Callback fired when the animation finishes.

    tension?: number

    Catmull-Rom spline tension (0-1). Default: 0.5.

    type: "cinematic"