docs.unity.cn
    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
    Boolean

    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)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023