Expand description
Scene module - hierarchy, transforms, and rendering components
Structs§
- Children
- Global
Transform - Gltf
Mesh Ref - Component storing the source glTF mesh index for an entity.
- Mesh
Renderer - Parent
- Pending
Gltf Scene Spawns - Resource containing scene handles waiting to be spawned into ECS.
- Spawned
Gltf Scenes - Resource storing spawned root entities keyed by scene-handle ID.
- Transform
Component
Functions§
- attach_
child - detach_
child - gltf_
scene_ spawn_ system - Polls async glTF loads and spawns queued scenes once available.
- mark_
subtree_ dirty - queue_
gltf_ scene_ spawn - Queues an already requested glTF scene handle for spawn-on-resolve.
- request_
gltf_ scene_ spawn - Starts async glTF loading and queues the scene for automatic spawn when ready.
- spawn_
gltf_ scene_ hierarchy - Spawns glTF nodes into ECS while preserving the node hierarchy.
- take_
spawned_ scene_ roots - Returns and removes spawned roots for a resolved scene handle.
- transform_
propagate_ system