Function ambient_api::prelude::entity::spawn

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

Spawns an entity containing the components.

Returns spawned_entity_uid.