Class FlowNode_ForLoop
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("For Loop")]
[NodeInfo("Executes the loop body for each index from First Index to Last Index, then continues through Completed.")]
public class FlowNode_ForLoop : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
- Inheritance
-
FlowNode_ForLoop
- Implements
- Derived
- Inherited Members
Constructors
FlowNode_ForLoop()
public FlowNode_ForLoop()
Fields
completed
[OutputPort(false)]
[CeresLabel("Completed")]
public NodePort completed
Field Value
firstIndex
[InputPort(false)]
[CeresLabel("First Index")]
public CeresPort<int> firstIndex
Field Value
index
[OutputPort(true)]
[CeresLabel("Index")]
public CeresPort<int> index
Field Value
lastIndex
[InputPort(false)]
[CeresLabel("Last Index")]
public CeresPort<int> lastIndex
Field Value
loopBody
[OutputPort(false)]
[CeresLabel("Loop Body")]
public NodePort loopBody
Field Value
step
[InputPort(false)]
[CeresLabel("Step")]
public CeresPort<int> step
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()