Function ambient_api::entity::spawn

source ·
pub fn spawn(components: &Entity) -> EntityId
Expand description

Spawns an entity containing the components.

Returns spawned_entity_uid.