ecs_query_entity_count

Function ecs_query_entity_count 

Source
pub unsafe extern "C" fn ecs_query_entity_count(
    query: *const ecs_query_t,
) -> i32
Expand description

Returns number of entities query matched with. This operation iterates all non-empty tables in the query cache to find the total number of entities.

@param query The query. @return The number of matched entities.