Skip to main content

create_instance

Function create_instance 

Source
pub fn create_instance(
    mesh: RenderEntity,
    material: RenderEntity,
) -> impl FnOnce(&mut World) -> RenderEntity
Expand description

Spawn one hidden instance wearing the assets it names, and answer it.

It stays hidden until its body is ready and the show puts it in place.