A local scene-graph relationship.
Signature
The referenced entity is retained as a group when it has no geometry, so authored hierarchy is never discarded. Parent transforms are composed by the SDK after the adapter has validated the language entity reference.
Fields
entity: Entity- The parent Entity. The spatial adapter rejects a missing target; the SDK rejects self-parenting, cycles, and excessive depth.
Examples
Parent a visible child
Transforms remain local to the parent entity.
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
entity(1)
Rust definition
Interpreter Entity reference resolved to an SDK Entity.parent by the spatial adapter.
View Rust documentation →Support: rendered