Layout
A mesh-less AABB box that serves as the anchoring reference for child shapes.
Layout is an AABB box that is never rendered. It exists purely as a reference volume to anchor and proportion child shapes.
Geometry
Builds no mesh. It appears only as a wire box in the Scene view and puts nothing on the renderer.
Its size (Width, Depth, Height) becomes the parent bounds, and child shapes either anchor to those bounds or take their size as a ratio of them. The pivot is at the center of the bottom face.
Use it whenever you only need a reference volume — one floor of a building, a room, a shelf bay — that says "lay things out inside here." Resize the Layout alone and the whole composition beneath it resizes.
Parameters
| Label | Script key | Default | Range | Description |
|---|---|---|---|---|
| Width | w | 4 | 0.01 ~ 10000 | Size along local X, in meters |
| Depth | d | 4 | 0.01 ~ 10000 | Size along local Z, in meters |
| Height | h | 3 | -10000 ~ 10000 | Size along local Y, in meters |
Layout has no mesh, so it cannot be converted with Convert to Editable Mesh. Turning on Collider Mode attaches a Box Collider without building a mesh, which also makes it usable as a trigger volume.
How to create
-
Drag in empty space to set the footprint (Width × Depth).
-
Click to confirm, then move the mouse up to set the Height.
-
Click again to finish.
Scene view editing
The X, Z and Y handles drive Width, Depth and Height. Changing the size immediately moves the anchored children.
Tips
Give the children an anchor with pivot= and proportional sizes with ratio=, and one Layout drives the whole composition. See Pivot and Anchoring for the rules.
It is especially useful for modular level assembly — change the room size and the walls, doors and lights stay where they belong.
Script
In a script this shape is written as layout.
layout "Floor" w=8 d=6 h=3 @0,0,0
box "WallNorth" pivot=top-back ratio=width,height w=1 h=0.9 d=0.2
box "WallSouth" pivot=top-front ratio=width,height w=1 h=0.9 d=0.2
cylinder "Pillar" r=0.2 pivot=bottom-center ratio=height h=1
See also — Shape Type List · Creating Shapes and Modes · Scene Script Syntax
