37 lines
991 B
Markdown
37 lines
991 B
Markdown
# 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 (0–1) | ⚠️ (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
|
||
}
|
||
```
|