Files
xrwise-datastructure/objects/Floor.md
T
2026-06-11 09:16:29 +02:00

37 lines
991 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Floor
### Type
pre-defined
### 3D
The Floor is a flat plane. Default dimensions are 10m × 10m.
Its Origin is at the Center (surface level).
Spawnpoint should be {0,0,0}.
### Custom Args:
| Key | Type | Implemented | Description |
|---|---|---|---|
| color | hexColor | ✔️ | Color of the floor material |
| opacity | float (01) | ⚠️ (not in Unity) | Transparency of the floor material |
| grabable | `"true"` / `"false"` | ⚠️ | Whether the item can be grabbed in-experience (common to all types) |
### Special Notes:
The Floor uses `Plane` as its `resourcename`. The Creator type is `Floor`.
Has a collider and is a "Teleportation Area".
### Example:
```json
{
"position": { "x": 0.0, "y": 0.0, "z": 0.0 },
"rotation": { "x": 0.0, "y": 0.0, "z": 0.0 },
"scale": { "x": 10, "y": 1, "z": 5.0 },
"type": "pre-defined",
"resourcename": "Plane",
"item-custom-args": [
{ "argument": "color", "value": "#cccccc" }
],
"item-custom-args-adv": null
}
```