KernelAPI reference
Struct EntityChildren.Enumerator
Namespace: MicroEngine.Scenes
Assembly: MicroEngine.Scene.dll
Guide: Scenes
Walks the children; allocates nothing.
public struct EntityChildren.Enumerator : IEnumerator<EntityId>, IEnumerator, IDisposableImplements
IEnumerator<EntityId>, IEnumerator, IDisposable
Properties
Current
The current child.
public readonly EntityId Current { get; }Property Value
Methods
Dispose()
Nothing to release.
public readonly void Dispose()MoveNext()
Moves to the next live child.
public bool MoveNext()Returns
Exceptions
An entity changed parent since the walk started.
Reset()
Starts over.
public void Reset()