Appearance
layer/add action
Arguments
| Key | Value type | Description |
|---|---|---|
| args | Bundle (args) | |
| id | LayerId | |
| index | number | |
| type | LayerType |
Bundles
args
| Key | Value type | Description |
|---|---|---|
| canvasUI | boolean | all layer types |
| detectFileProperties | boolean | image, video: detect spherical properties of file when adding the layer |
| dynamicRes | boolean | webview |
| enabled | boolean | all layer types |
| hd | boolean | youtube: non-360 youtube layer |
| height | number | image, video |
| ignoreDefaultRegion | boolean | all layer types |
| loopbackedLayerId | LayerId | loopback |
| path | string | image, video, pdf, modelviewer |
| senderName | string | ndi |
| sizeX | number | webview, youtube |
| sizeY | number | webview, youtube |
| url | string | webview, youtube |
| width | number | image, video |
Example URI string
layer/add?args=x+id=123456789+index=0.5+type=x