Method GetChunkComponentData
GetChunkComponentData<T>(ComponentTypeHandle<T>)
Gets the value of a chunk component.
Declaration
public T GetChunkComponentData<T>(ComponentTypeHandle<T> chunkComponentTypeHandle)
    where T : structParameters
| Type | Name | Description | 
|---|---|---|
| ComponentTypeHandle<T> | chunkComponentTypeHandle | An object containing type and job safety information. Create this object by calling GetComponentTypeHandle<T>(Boolean) immediately before scheduling a job. Pass the object to a job using a public field you define as part of the job struct. | 
Returns
| Type | Description | 
|---|---|
| T | A copy of the chunk component. | 
Type Parameters
| Name | Description | 
|---|---|
| T | The data type of the chunk component. |