Struct ComponentTypes | Entities | 0.3.0-preview.4
docs.unity.cn
    Show / Hide Table of Contents

    Struct ComponentTypes

    Namespace: Unity.Entities
    Syntax
    public struct ComponentTypes

    Constructors

    ComponentTypes(ComponentType)

    Declaration
    public ComponentTypes(ComponentType a)
    Parameters
    Type Name Description
    ComponentType a

    ComponentTypes(ComponentType, ComponentType)

    Declaration
    public ComponentTypes(ComponentType a, ComponentType b)
    Parameters
    Type Name Description
    ComponentType a
    ComponentType b

    ComponentTypes(ComponentType, ComponentType, ComponentType)

    Declaration
    public ComponentTypes(ComponentType a, ComponentType b, ComponentType c)
    Parameters
    Type Name Description
    ComponentType a
    ComponentType b
    ComponentType c

    ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType)

    Declaration
    public ComponentTypes(ComponentType a, ComponentType b, ComponentType c, ComponentType d)
    Parameters
    Type Name Description
    ComponentType a
    ComponentType b
    ComponentType c
    ComponentType d

    ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)

    Declaration
    public ComponentTypes(ComponentType a, ComponentType b, ComponentType c, ComponentType d, ComponentType e)
    Parameters
    Type Name Description
    ComponentType a
    ComponentType b
    ComponentType c
    ComponentType d
    ComponentType e

    ComponentTypes(ComponentType[])

    Declaration
    public ComponentTypes(ComponentType[] componentType)
    Parameters
    Type Name Description
    ComponentType[] componentType

    Fields

    m_masks

    Declaration
    public ComponentTypes.Masks m_masks
    Field Value
    Type Description
    ComponentTypes.Masks

    Properties

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    Int32

    Methods

    GetComponentType(Int32)

    Declaration
    public ComponentType GetComponentType(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    ComponentType

    GetTypeIndex(Int32)

    Declaration
    public int GetTypeIndex(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Int32
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX