| name (Required) |
string |
0 |
The identifier for this spline, in "namespace:name" format. |
| total_time (Required) |
float |
1 |
The total time, in seconds, to play back the spline. |
| spline_type |
string |
2 |
The spline interpolation type: "catmullrom" or "linear". Defaults to "catmullrom". |
| control_points (Required) |
array<CameraSplineControlPoint> |
3 |
Array of control point positions, each as [x, y, z] in world space. |
CameraSplineControlPoint (Array Item)
| Field Name |
Type |
Field Index |
Description |
| position (Required) |
Vec3 |
0 |
The [x, y, z] position of a spline node. |
Vec3
| Field Name |
Type |
Field Index |
Description |
| X (Required) |
float |
0 |
|
| Y (Required) |
float |
1 |
|
| Z (Required) |
float |
2 |
|
|
|
| progress_key_frames (Required) |
array<CameraSplineProgressKeyFrame> |
4 |
Key frames where each entry defines a progress alpha [0–1] and a time (in seconds) when the spline should reach that progress. |
CameraSplineProgressKeyFrame (Array Item)
| Field Name |
Type |
Field Index |
Description |
| progress (Required) |
float |
0 |
Normalized progress of this frame along the spline, from 0.0 (start) to 1.0 (end). |
| time (Required) |
float |
1 |
Time (in seconds) at which this progress should be applied. |
| easing |
string |
2 |
Optional easing function used to interpolate towards this progress key frame. Defaults to "linear" if omitted. |
Enum Values:
| Index |
Value |
| 0 |
linear |
| 1 |
spring |
| 2 |
in_quad |
| 3 |
out_quad |
| 4 |
in_out_quad |
| 5 |
in_cubic |
| 6 |
out_cubic |
| 7 |
in_out_cubic |
| 8 |
in_quart |
| 9 |
out_quart |
| 10 |
in_out_quart |
| 11 |
in_quint |
| 12 |
out_quint |
| 13 |
in_out_quint |
| 14 |
in_sine |
| 15 |
out_sine |
| 16 |
in_out_sine |
| 17 |
in_expo |
| 18 |
out_expo |
| 19 |
in_out_expo |
| 20 |
in_circ |
| 21 |
out_circ |
| 22 |
in_out_circ |
| 23 |
in_bounce |
| 24 |
out_bounce |
| 25 |
in_out_bounce |
| 26 |
in_back |
| 27 |
out_back |
| 28 |
in_out_back |
| 29 |
in_elastic |
| 30 |
out_elastic |
| 31 |
in_out_elastic |
|
|
| rotation_key_frames (Required) |
array<CameraSplineRotationKeyFrame> |
5 |
Array of rotation key frames, each with a rotation value and the time (in seconds) when it should be applied. |
CameraSplineRotationKeyFrame (Array Item)
| Field Name |
Type |
Field Index |
Description |
| rotation (Required) |
Vec3 |
0 |
Rotation [x, y, z] value. |
Vec3
| Field Name |
Type |
Field Index |
Description |
| X (Required) |
float |
0 |
|
| Y (Required) |
float |
1 |
|
| Z (Required) |
float |
2 |
|
|
| time (Required) |
float |
1 |
Time (in seconds) at which this rotation should be applied. |
| easing |
string |
2 |
Optional easing function used to interpolate towards this rotation key frame. Defaults to "linear" if omitted. |
Enum Values:
| Index |
Value |
| 0 |
linear |
| 1 |
spring |
| 2 |
in_quad |
| 3 |
out_quad |
| 4 |
in_out_quad |
| 5 |
in_cubic |
| 6 |
out_cubic |
| 7 |
in_out_cubic |
| 8 |
in_quart |
| 9 |
out_quart |
| 10 |
in_out_quart |
| 11 |
in_quint |
| 12 |
out_quint |
| 13 |
in_out_quint |
| 14 |
in_sine |
| 15 |
out_sine |
| 16 |
in_out_sine |
| 17 |
in_expo |
| 18 |
out_expo |
| 19 |
in_out_expo |
| 20 |
in_circ |
| 21 |
out_circ |
| 22 |
in_out_circ |
| 23 |
in_bounce |
| 24 |
out_bounce |
| 25 |
in_out_bounce |
| 26 |
in_back |
| 27 |
out_back |
| 28 |
in_out_back |
| 29 |
in_elastic |
| 30 |
out_elastic |
| 31 |
in_out_elastic |
|
|