API reference
ValueIndex<T, TKey>.Matches
Enumerates the entities of one key (foreach). The ValueIndex<T, TKey>.Matches struct of EasyEcs, the C# ECS: its members, parameters and complexity.
public ref struct MatchesNested in ValueIndex.
Enumerates the entities of one key (foreach).
Properties
Current
public readonly Entity Current { get; }The current matching entity.
Methods
GetEnumerator
public readonly ValueIndex<T, TKey>.Matches GetEnumerator();The enumerator itself (foreach support, no allocation).
MoveNext
public bool MoveNext();Move to the next entity with the key. O(1) per entity.
Edit on GitHub
Last updated on
How is this guide?