Method Matches
Matches(Entity)
Returns true if the entity matches the query, false if it does not. Applies any filters
Declaration
public bool Matches(Entity e)
Parameters
Type | Name | Description |
---|---|---|
Entity | e | The entity to check for match |
Returns
Type | Description |
---|---|
Boolean |
Remarks
This function creates an EntityQueryMask, if one does not exist for this query already. A maximum of 1024 EntityQueryMasks can be allocated per World.