Class FlowNode_GetArrayElementT<T>
Retrieve an element from an array at a given index.
[CeresGroup("Utilities/Array")]
[CeresLabel("Get")]
[NodeInfo("Outputs the array element at the specified index.")]
[CeresMetadata(new string[] { "style = ConstNode", "path = Dependency" })]
public sealed class FlowNode_GetArrayElementT<T> : ExecutableNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
Type Parameters
T
- Inheritance
-
FlowNode_GetArrayElementT<T>
- Implements
- Inherited Members
Constructors
FlowNode_GetArrayElementT()
public FlowNode_GetArrayElementT()
Fields
array
[InputPort(true)]
[CeresLabel("")]
[HideInGraphEditor]
public CeresPort<IReadOnlyList<T>> array
Field Value
element
[OutputPort(true)]
[CeresLabel("")]
public CeresPort<T> element
Field Value
- CeresPort<T>
index
[InputPort(false)]
[CeresLabel("")]
public CeresPort<int> index
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()