azalea_entity::indexing

Function insert_entity_chunk_position

Source
pub fn insert_entity_chunk_position(
    query: Query<'_, '_, (Entity, &Position, &InstanceName), Added<EntityChunkPos>>,
    instance_container: Res<'_, InstanceContainer>,
)
Expand description

Insert new entities into Instance::entities_by_chunk.