Class FlowNode_ForEachLoopT<T>
Iterate over the output of given array.
[CeresGroup("Utilities/Array")]
[CeresLabel("For Each Loop")]
[NodeInfo("Iterates over each element of a typed array and executes the loop body.")]
public sealed class FlowNode_ForEachLoopT<T> : FlowNode_ForEachLoopGeneric, IEnumerable<CeresNode>, IEnumerable, IDisposable
Type Parameters
T
- Inheritance
-
FlowNode_ForEachLoopT<T>
- Implements
- Inherited Members
Constructors
FlowNode_ForEachLoopT()
public FlowNode_ForEachLoopT()
Fields
array
[InputPort(true)]
[HideInGraphEditor]
public CeresPort<IReadOnlyList<T>> array
Field Value
arrayElement
[OutputPort(true)]
public CeresPort<T> arrayElement
Field Value
- CeresPort<T>
completed
[OutputPort(false)]
public NodePort completed
Field Value
loopBody
[OutputPort(false)]
public NodePort loopBody
Field Value
Methods
Execute(ExecutionContext)
protected override UniTask Execute(ExecutionContext executionContext)
Parameters
executionContextExecutionContext
Returns
- UniTask
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()