Interface IEntityMap<T>
Common interface for the per-entity data storage.
Namespace: Unity.Entities.Editor
Syntax
public interface IEntityMap<T> : IDisposable where T : struct
Type Parameters
| Name | Description |
|---|---|
| T | The data type stored. |
Properties
| Name | Description |
|---|---|
| Capacity | Returns the upper bound for the array. |
| Count | Returns the number of entries in the storage. |
| Item[Entity] | Gets or sets the data for the specified Entity. |
Methods
| Name | Description |
|---|---|
| Clear() | Clears the storage for re-use. |
| Exists(Entity) | Returns true if the specified entity exists in the storage. |
| Remove(Entity) | Removes the data for the specified entity. |
| Resize(Int32) | Resizes to sparse data set to the given capacity. |