Struct ComponentTypes
An immutable list of ComponentType values.
Syntax
public struct ComponentTypes
Constructors
ComponentTypes(ComponentType)
Declaration
public ComponentTypes(ComponentType a)
Parameters
ComponentTypes(ComponentType, ComponentType)
Declaration
public ComponentTypes(ComponentType a, ComponentType b)
Parameters
ComponentTypes(ComponentType, ComponentType, ComponentType)
Declaration
public ComponentTypes(ComponentType a, ComponentType b, ComponentType c)
Parameters
ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType)
Declaration
public ComponentTypes(ComponentType a, ComponentType b, ComponentType c, ComponentType d)
Parameters
ComponentTypes(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
Declaration
public ComponentTypes(ComponentType a, ComponentType b, ComponentType c, ComponentType d, ComponentType e)
Parameters
ComponentTypes(ComponentType[])
Declaration
public ComponentTypes(ComponentType[] componentType)
Parameters
Fields
m_masks
Declaration
public ComponentTypes.Masks m_masks
Field Value
Properties
Length
Declaration
public int Length { get; }
Property Value
Methods
GetComponentType(Int32)
Returns a ComponentType for the type stored at the index in the list.
The returned ComponentType always has access mode ReadWrite.
Declaration
public ComponentType GetComponentType(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetTypeIndex(Int32)
Declaration
public int GetTypeIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns