| Field Name | Field Type | Field Constraints | Field Notes |
|---|
| name |
string |
<div style="padding-left: 0px;">Pattern = ^\w+:\w+$</div> |
The identifier for this spline, in "namespace:name" format. |
| total_time |
float |
<div style="padding-left: 0px;">Minimum = 0</div> |
The total time, in seconds, to play back the spline. |
| spline_type |
string |
<div style="padding-left: 0px;">Pattern = ^(?:catmullrom|linear)$</div> |
The spline interpolation type: "catmullrom" or "linear". Defaults to "catmullrom". |
| control_points |
vector<CameraSplineControlPoint> |
|
Array of control point positions, each as [x, y, z] in world space. |
| progress_key_frames |
vector<CameraSplineProgressKeyFrame> |
|
Key frames where each entry defines a progress alpha [0–1] and a time (in seconds) when the spline should reach that progress. |
| rotation_key_frames |
vector<CameraSplineRotationKeyFrame> |
|
Array of rotation key frames, each with a rotation value and the time (in seconds) when it should be applied. |