docs.unity.cn
    Show / Hide Table of Contents

    Struct ComponentTypes

    Namespace: Unity.Entities
    Syntax
    [BurstCompatible]
    public struct ComponentTypes

    Constructors

    Name Description
    ComponentTypes(in FixedList128Bytes<ComponentType>)
    ComponentTypes(ComponentType)
    ComponentTypes(ComponentType, ComponentType)
    ComponentTypes(ComponentType, ComponentType, ComponentType)
    ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType)
    ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
    ComponentTypes(ComponentType[])

    Fields

    Name Description
    m_masks

    Properties

    Name Description
    Length

    Methods

    Name Description
    GetComponentType(Int32)

    Returns a ComponentType for the type stored at the index in the list.

    The returned ComponentType always has access mode ReadWrite.

    GetTypeIndex(Int32)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use