docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithAllChunkComponentRW

    WithAllChunkComponentRW<T>()

    Add a required Chunk Component type to the query, which must be enabled.

    Declaration
    public SystemAPIQueryBuilder WithAllChunkComponentRW<T>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    The builder object that invoked this method.

    Type Parameters
    Name Description
    T

    Component type to use as a required, read-write Chunk Component

    Remarks

    Call this method on the query builder to find entities that have all the specified chunk components. Chunk components are a distinct component type, which are different from adding the same type as a standard component.

    To add additional required Chunk Components, call this method multiple times.

    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)