Documentation

Unity Engine


Unity Engine


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.
LengthThe number of buffer elements

Methods

Method

Description

ToFixedStringReturns the formatted FixedString "BufferAccessor[type_name_here]".