docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    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)