Class FlowNode_SelectT<T>
[CeresGroup("Utilities")]
[CeresLabel("Select")]
[NodeInfo("Returns one of two values based on a boolean condition.")]
[CeresMetadata(new string[] { "style = ConstNode", "path = Dependency" })]
public class FlowNode_SelectT<T> : ExecutableNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
Type Parameters
T
- Inheritance
-
FlowNode_SelectT<T>
- Implements
- Inherited Members
Constructors
FlowNode_SelectT()
public FlowNode_SelectT()
Fields
condition
[InputPort(false)]
[CeresLabel("Condition")]
public CeresPort<bool> condition
Field Value
falseValue
[InputPort(false)]
[CeresLabel("False")]
public CeresPort<T> falseValue
Field Value
- CeresPort<T>
resultValue
[OutputPort(true)]
[CeresLabel("Result")]
public CeresPort<T> resultValue
Field Value
- CeresPort<T>
trueValue
[InputPort(false)]
[CeresLabel("True")]
public CeresPort<T> trueValue
Field Value
- CeresPort<T>
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()