Table of Contents

Class FlowNode_WhileLoop

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("While Loop")]
[NodeInfo("Repeats the loop body while the condition is true, up to the maximum iteration limit, then continues through Completed.")]
public class FlowNode_WhileLoop : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
Inheritance
FlowNode_WhileLoop
Implements
Inherited Members

Constructors

FlowNode_WhileLoop()

public FlowNode_WhileLoop()

Fields

completed

[OutputPort(false)]
[CeresLabel("Completed")]
public NodePort completed

Field Value

NodePort

condition

[InputPort(false)]
public CeresPort<bool> condition

Field Value

CeresPort<bool>

loopBody

[OutputPort(false)]
[CeresLabel("Loop Body")]
public NodePort loopBody

Field Value

NodePort

maxIterations

[InputPort(false)]
[CeresLabel("Max Iterations")]
public CeresPort<int> maxIterations

Field Value

CeresPort<int>

Methods

Execute(ExecutionContext)

protected override UniTask Execute(ExecutionContext executionContext)

Parameters

executionContext ExecutionContext

Returns

UniTask

__getTypeName()

protected override string __getTypeName()

Returns

string

__initializePorts()

protected override void __initializePorts()

__initializeVariables()

protected override void __initializeVariables()