docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MatchesIgnoreFilter

    MatchesIgnoreFilter(Entity)

    Returns true if the entity's archetype is matched by this query, ignoring all query filtering (including chunk filters and enableable components).

    Declaration
    public bool MatchesIgnoreFilter(Entity e)
    Parameters
    Type Name Description
    Entity e

    The entity to check for match

    Returns
    Type Description
    bool

    True if the entity's archetype is matched by the query, or false if not.

    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. This function throws an exception if the query contains enableable components.

    See Also
    Matches(Entity)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)