Method ConstructComponentFromBuffer
ConstructComponentFromBuffer(TypeIndex, void*)
Used by codegen. Create an instance of a component type from a given buffer of data
Declaration
public static object ConstructComponentFromBuffer(TypeIndex typeIndex, void* data)
Parameters
| Type | Name | Description |
|---|---|---|
| TypeIndex | typeIndex | Component type index |
| void* | data | Component instance data |
Returns
| Type | Description |
|---|---|
| object | Boxed component instance |