Expand description
Scene construction helpers.
Re-exports the sim-value builders and adds a few common scene node shapes
plus a reserved-key guard. The guard turns the kind footgun into an
immediate, clear failure: kind is the scene-node tag, so a plain data map
must not carry a kind key (use a different field name). data_map
debug-asserts that.
Structs§
- Anchor
- A named pose-free anchor for spatial scene nodes.
- Transform3
- A static transform attached to spatial content before device pose is known.
Enums§
- Anchor
Space - The stable anchor spaces used by pose-free spatial scene nodes.
Constants§
- RESERVED_
DATA_ KEYS - Keys reserved for scene-node structure; plain data maps must not use them.
Functions§
- anchor
- Builds a
scene/anchornode. - badge
- A
scene/badgenode. Status carries a text token, never color alone. - badge_
cluster - A
scene/badge-clusternode containing visible status badges. - box_
- A
scene/boxnode with a role and children. - data_
map - Build a plain data map, asserting (in debug) that it carries no reserved scene-node key.
- float
- An
f64-domain number value with a canonical literal. - gaze_
cursor - Builds a pose-free
scene/gaze-cursornode. - hand_
ray - Builds a pose-free
scene/hand-raynode. - int
- An
i64-domain number value. - list
- A list value.
- map
- A map value from string-keyed entries (keys become unqualified symbols).
- panel
- Builds a pose-free
scene/panelnode. - spatial
- Builds a
scene/spatialroot with pose-free spatial children. - stack
- A
scene/stacknode with a direction and children. - stereo
- Builds a
scene/stereoroot with left and right eye payloads. - sym
- An unqualified symbol value:
Expr::Symbol(Symbol::new(name)). - text
- A string value.
- text_
node - A
scene/textnode. - uint
- An
i64-domain number value from an unsigned integer. - vector
- A vector value.
- world_
plane - Builds a pose-free
scene/world-planenode.