Method MatchesIgnoreFilter
MatchesIgnoreFilter(Entity)
Reports whether an entity's archetype is in the set of archetypes matched by this query.
Declaration
public bool MatchesIgnoreFilter(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity to check. |
Returns
Type | Description |
---|---|
bool | True if the entity would be returned by the EntityQuery (ignoring any filtering or enableable components), or false if it would not. |
Remarks
This function does not consider any chunk filtering settings on the query, or whether the entity has any of the relevant components disabled.
MatchesIgnoreFilter(ArchetypeChunk)
Reports whether a chunk's archetype is in the set of archetypes matched by this query.
Declaration
public bool MatchesIgnoreFilter(ArchetypeChunk chunk)
Parameters
Type | Name | Description |
---|---|---|
ArchetypeChunk | chunk | The chunk to check. |
Returns
Type | Description |
---|---|
bool | True if the chunk would be returned by the EntityQuery (ignoring any filtering), or false if it would not. |
Remarks
This function does not consider any chunk filtering settings on the query.