BufferAccessor<T>
Interface to a chunk's array of component values for a buffer component type
Read time 1 minuteLast updated a day ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public struct BufferAccessor<T> where T : unmanaged, IBufferElementData
Properties
Property | Description |
|---|---|
| this[] | Look up the DynamicBuffer<T> value at a specific array index within the chunk. |
| Length | The number of buffer elements |
Methods
Method | Description |
|---|---|
| ToFixedString | Returns the formatted FixedString "BufferAccessor[type_name_here]". |