Skip to main content

request_gltf_scene_spawn

Function request_gltf_scene_spawn 

Source
pub fn request_gltf_scene_spawn(
    world: &mut World,
    device: Arc<Device>,
    queue: Arc<Queue>,
    path: impl Into<PathBuf>,
) -> Handle<GltfScene>
Expand description

Starts async glTF loading and queues the scene for automatic spawn when ready.