Method GetEntityDataPtrRO
GetEntityDataPtrRO(EntityTypeHandle)
Provides an unsafe read-only interface to array of Entities stored in this chunk.
Declaration
public readonly Entity* GetEntityDataPtrRO(EntityTypeHandle entityTypeHandle)
Parameters
Type | Name | Description |
---|---|---|
EntityTypeHandle | entityTypeHandle | An object containing type and job safety information. To create this object, call GetEntityTypeHandle(). Pass the object to a job using a public field you define as part of the job struct. |
Returns
Type | Description |
---|---|
Entity* | A pointer to the component data stored in the chunk. |