docs.unity3d.com

Entities 1.2.1

Search Results for

    Show / Hide Table of Contents

    Constructor ChunkEntityEnumerator

    ChunkEntityEnumerator(bool, v128, int)

    Construct a new instance.

    Declaration
    public ChunkEntityEnumerator(bool useEnabledMask, v128 chunkEnabledMask, int chunkEntityCount)
    Parameters
    Type Name Description
    bool useEnabledMask

    If true, chunkEnabledMask contains valid data and should be used to determine which entities to include in the iteration. If false, the mask is ignored and all entities in the chunk are included. You can pass this value directly from the argument provided to Execute(in ArchetypeChunk, int, bool, in v128).

    v128 chunkEnabledMask

    A bitmask for all entities in the chunk. If bit N is set, entity N within this chunk should be included in the iteration. This mask is ignored if useEnabledMask is false. You can pass this value directly from the argument provided to Execute(in ArchetypeChunk, int, bool, in v128).

    int chunkEntityCount

    The number of entities in the chunk.

    In This Article
    • ChunkEntityEnumerator(bool, v128, int)
    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)