Skip to main content

spawn_from_value

Function spawn_from_value 

Source
fn spawn_from_value(
    scope: &mut ScopeMut<'_>,
    components: &Value,
) -> Result<Value, String>
Available on crate feature mcp and non-WebAssembly only.
Expand description

Spawn an entity from a map of component name to value.