Strata - v1.4.10
    Preparing search index...

    Interface CameraPath

    Configuration for a Catmull-Rom spline camera path.

    Defines a smooth path through 3D space for cinematic flythroughs and cutscenes.

    interface CameraPath {
        closed?: boolean;
        duration: number;
        points: Vector3[];
        tension?: number;
    }
    Index

    Properties

    closed?: boolean

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

    duration: number

    Total duration to traverse the path in seconds.

    points: Vector3[]

    Array of Vector3 waypoints defining the path.

    tension?: number

    Spline tension (0-1). Lower = looser curves. Default: 0.5