Struct SpatialChangeResult
Zero-allocation result of an interest management delta query. Contains EntityIds of entities that changed within the observer's interest region since
their last consumption tick.
Spans point into observer-internal buffers and are valid only until the next GetSpatialChanges call for that observer.
public readonly ref struct SpatialChangeResult
- Inherited Members
Fields
ChangedEntities
EntityIds of entities with spatial changes in the observer's interest region.
public readonly ReadOnlySpan<long> ChangedEntities
Field Value
IsFullSync
True if all entities in the region were returned (observer was too stale for delta query).
public readonly bool IsFullSync
Field Value
Tick
The tick this result covers up to. Observer's LastConsumedTick is updated to this value.
public readonly long Tick