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 |