EntityInChunk
Represents a single entity within a chunk. Mainly used internally to sort lists of entities into chunk order.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IComparable<EntityInChunk>, IEquatable<EntityInChunk>
public struct EntityInChunk : IComparable<EntityInChunk>, IEquatable<EntityInChunk>
Static Properties
Property | Description |
|---|---|
| Null | Null is a special value that does not refer to an actual entity. The chunk index it contains is ChunkIndex.Null. |
Methods
Method | Description |
|---|---|
| CompareTo | Compares two EntityInChunk objects to determine their relative ordering |
| Equals | Compares two EntityInChunk instances for equality/ |