Creates a camera path.
The camera to control with this path. The camera's eye, look, and up will be sampled when saving frames and updated when loading frames.
Configuration options
Optionalframes?: CameraPathFrame[]Initial frames to add to the path
Protected_eyeProtected_framesProtected_lookProtected_upThe target camera.
Spline for camera eye positions.
Frames in insertion order.
Spline for camera look positions.
Spline for camera up vectors.
Removes all frames and clears all spline control points.
Loads the interpolated camera state at the given path time.
Input time is normalized using the first and last frame times.
Time along the path
Captures the current camera state as a new frame.
Time for the new frame
Redistributes frame times so camera motion is closer to constant speed.
Uses distance between consecutive eye positions.
Total duration to distribute across all frames
Sequence of camera frames that can be sampled or played back over time.
Stores frame data plus spline curves for eye, look, and up.