Table of Contents

Class FlowNode_MultiGate

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("MultiGate")]
[NodeInfo("Routes each trigger to one output in sequence or random order, with optional looping and reset support.")]
[CeresMetadata(new string[] { "style = ForwardNode", "ResolverOnly" })]
public class FlowNode_MultiGate : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable, IPortArrayNode, IReadOnlyPortArrayNode
Inheritance
FlowNode_MultiGate
Implements
Inherited Members

Constructors

FlowNode_MultiGate()

public FlowNode_MultiGate()

Fields

loop

[InputPort(false)]
[CeresLabel("Loop")]
public CeresPort<bool> loop

Field Value

CeresPort<bool>

outputCount

[HideInGraphEditor]
public int outputCount

Field Value

int

outputs

[OutputPort(false)]
[CeresLabel("Out")]
[CeresMetadata(new string[] { "DefaultLength = 2" })]
public NodePort[] outputs

Field Value

NodePort[]

random

[InputPort(false)]
[CeresLabel("Random")]
public CeresPort<bool> random

Field Value

CeresPort<bool>

reset

[InputPort(false)]
[CeresLabel("Reset")]
public NodePort reset

Field Value

NodePort

startIndex

[InputPort(false)]
[CeresLabel("Start Index")]
public CeresPort<int> startIndex

Field Value

CeresPort<int>

Methods

Execute(ExecutionContext)

protected override UniTask Execute(ExecutionContext executionContext)

Parameters

executionContext ExecutionContext

Returns

UniTask

GetPortArrayFieldName()

public string GetPortArrayFieldName()

Returns

string

GetPortArrayLength()

public int GetPortArrayLength()

Returns

int

OnAfterDeserialize()

public void OnAfterDeserialize()

OnBeforeSerialize()

public void OnBeforeSerialize()

SetPortArrayLength(int)

public void SetPortArrayLength(int newLength)

Parameters

newLength int

__getTypeName()

protected override string __getTypeName()

Returns

string

__initializePorts()

protected override void __initializePorts()

__initializeVariables()

protected override void __initializeVariables()