Files
xrwise-datastructure/objects/VideoWall.md
T
2026-06-10 16:22:41 +02:00

42 lines
1.2 KiB
Markdown

# VideoWall
### Type
pre-defined
### 3D
The VideoWall is a 4m x 2,25m opaque Plane.
When "controls" is set to true it expands to 4m x 2,5m.
Its Origin is at the Bottom-Center (if controls are disabled).
Spawnpoint should be {0,1,0} so its 1m above the floor.
### Custom Args:
| Key | Type | Implemented | Description |
|---|---|---|---|
| file | string | ✔️ | the location in storage (user_files) of the video file |
| volume | string | ⚠️ (only Unity) | float between 0 and 1, default 1.|
|shader | string | ✔️ | "unlit"(default),"lit","greenscreen"|
|controls| bool | ❌ | If Controls are enabled at the bottom of the screen|
|autoplay|bool| ⚠️ (only Unity) |if the video automaticly plays when user enters the Room|
### Special Notes:
The Creator handles Uploading of Videos, generating Meta-Quest compatible Videos and then assiging the id to the url field.
### Example:
```json
{
"position": { "x": 0.0, "y": 1, "z": -6 },
"rotation": { "x": 0.0, "y": 0.0, "z": 0.0 },
"scale": { "x": 1.0, "y": 1.0, "z": 1.0 },
"type": "pre-defined",
"resourcename": "Cube",
"item-custom-args": [
{
"value": "b83a17ab-92bf-4122-a4d0-7b467a105ae0/converted/output.webm",
"argument": "file"
}
],
"item-custom-args-adv": null
}