| Parameter | Description |
|---|---|
| chunk | The chunk. |
T A struct of type T containing the component value.
Gets the value of a chunk component.
A chunk component is common to all entities in a chunk. You can access a chunk IComponentData instance through either the chunk itself or through an entity stored in that chunk.
| Parameter | Description |
|---|---|
| entity | The entity. |
T A struct of type T containing the component value.
Gets the value of chunk component for the chunk containing the specified entity.
A chunk component is common to all entities in a chunk. You can access a chunk IComponentData instance through either the chunk itself or through an entity stored in that chunk.