Method GetTypeInfo
GetTypeInfo(TypeIndex)
Retrieve the TypeInfo for the TypeIndex.
Declaration
public static ref readonly TypeManager.TypeInfo GetTypeInfo(TypeIndex typeIndex)
Parameters
Type | Name | Description |
---|---|---|
TypeIndex | typeIndex | TypeIndex to review the TypeInfo for |
Returns
Type | Description |
---|---|
TypeManager.TypeInfo | Returns the TypeInfo for the component corresponding to the TypeInfo. |
GetTypeInfo<T>()
Retrieve the TypeInfo for the component T.
Declaration
public static ref readonly TypeManager.TypeInfo GetTypeInfo<T>()
Returns
Type | Description |
---|---|
TypeManager.TypeInfo | The TypeInfo for the component corresponding to type T. |
Type Parameters
Name | Description |
---|---|
T | Component type to get TypeInfo fo |