Table of Contents

Struct EntityLinkEnumerator<T>

Namespace
Frent.Systems
Assembly
Frent.dll

Enumerates the component references and the Entity instance of every Entity on the far side of a link.

public ref struct EntityLinkEnumerator<T>

Type Parameters

T
Inherited Members

Remarks

Linked entities that do not have every enumerated component are skipped.

Properties

Current

The current tuple of component references.

public EntityRefTuple<T> Current { get; }

Property Value

EntityRefTuple<T>

Methods

Dispose()

Indicates to the world that this enumeration is finished; the world might allow structual changes after this.

public void Dispose()

MoveNext()

Moves to the next linked Entity in this enumeration.

public bool MoveNext()

Returns

bool

true when its possible to enumerate further, otherwise false.