Table of Contents

Struct EntityEnumerator

Namespace
Frent.Systems
Assembly
Frent.dll

Enumerator over a set of Entity instances.

public ref struct EntityEnumerator
Inherited Members

Properties

Current

The current Entity instance.

public Entity Current { get; }

Property Value

Entity

this[int]

Gets the Entity at the given index, aligned with any component spans enumerated alongside it.

public readonly Entity this[int index] { get; }

Parameters

index int

Property Value

Entity

Methods

GetEnumerator()

Gets the enumerator over a query.

public EntityEnumerator GetEnumerator()

Returns

EntityEnumerator

MoveNext()

Moves to the next Entity instance.

public bool MoveNext()

Returns

bool

true when its possible to enumerate further, otherwise false.