Method GetComponentData
GetComponentData<T>(EntityManager, Entity, Int32, out T)
Declaration
public static T GetComponentData<T>(EntityManager manager, Entity entity, int typeIndex, out T originalComponent)
where T : struct, IComponentData
Parameters
Type | Name | Description |
---|---|---|
EntityManager | manager | |
Entity | entity | |
Int32 | typeIndex | |
T | originalComponent |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |