docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEnabledMask

    GetEnabledMask<T>(ref ComponentTypeHandle<T>)

    Provides a EnabledMask to the component enabled bits in this chunk.

    Declaration
    public readonly EnabledMask GetEnabledMask<T>(ref ComponentTypeHandle<T> typeHandle) where T : unmanaged, IComponentData, IEnableableComponent
    Parameters
    Type Name Description
    ComponentTypeHandle<T> typeHandle

    Type handle for the component type T.

    Returns
    Type Description
    EnabledMask

    An EnabledMask instance for component T in this chunk.

    Type Parameters
    Name Description
    T

    The component type

    GetEnabledMask<T>(ref BufferTypeHandle<T>)

    Provides a EnabledMask to the component enabled bits in this chunk.

    Declaration
    public readonly EnabledMask GetEnabledMask<T>(ref BufferTypeHandle<T> typeHandle) where T : unmanaged, IBufferElementData, IEnableableComponent
    Parameters
    Type Name Description
    BufferTypeHandle<T> typeHandle

    Type handle for the component type T.

    Returns
    Type Description
    EnabledMask

    An EnabledMask instance for component T in this chunk.

    Type Parameters
    Name Description
    T

    The component type

    GetEnabledMask(ref DynamicComponentTypeHandle)

    Provides a EnabledMask to the component enabled bits in this chunk.

    Declaration
    public readonly EnabledMask GetEnabledMask(ref DynamicComponentTypeHandle typeHandle)
    Parameters
    Type Name Description
    DynamicComponentTypeHandle typeHandle

    Type handle for the dynamic component/>.

    Returns
    Type Description
    EnabledMask

    An EnabledMask instance for component in this chunk.

    In This Article
    Back to top
    Copyright © 2025 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)