docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithChangeFilter

    WithChangeFilter<TChangeFilter1>()

    Only select components in chunks in which the specified component might have changed since the last time the system updated.

    Declaration
    public QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithChangeFilter<TChangeFilter1>()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query.

    Type Parameters
    Name Description
    TChangeFilter1

    A component type

    WithChangeFilter<TChangeFilter1, TChangeFilter2>()

    Only select components in chunks in which the specified component might have changed since the last time the system updated.

    Declaration
    public QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithChangeFilter<TChangeFilter1, TChangeFilter2>()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query.

    Type Parameters
    Name Description
    TChangeFilter1

    A component type

    TChangeFilter2

    A component type

    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)