Type Definitions
Media
Type:
Properties- object
Name | Type | Description |
---|---|---|
id | string | ID of the media |
type | string | The type of the media (text, image, video or audio) |
value | string | Value of the media. It can be either an URL or raw text |
Step
Type:
Properties- object
Name | Type | Description |
---|---|---|
previous | number | Index of the previous step. If this is the first step, it should be the index of the step |
next | number | Index of the next step. If this is the last step, it should be the index of the step |
layers | Array.<string> | IDs of the layers to display |
media | Array.<string> | IDs of the media to display |
position | object | Camera position (vec3 with x,y,z coordinates) |
rotation | object | Camera rotation (quaternion with x,y,z,w coordinates) |