An axis-aligned local box with full dimensions.
Signature
The spatial adapter validates positive dimensions before rendering. Box is one of the two collision shapes accepted by RigidBody; size uses full extents.
Fields
Examples
Create a box
Size records full extents, not half extents.
main.kj⌘ / Ctrl + Enter
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
2
Rust definition
Interpreter RecordValue geometry schema consumed by spatial adapters.
View Rust documentation →Support: rendered