Table of Contents

Class FlowNode_MakeArrayT<T>

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll

Make an array of type T

[CeresGroup("Utilities/Array")]
[CeresLabel("Make {0} Array")]
[NodeInfo("Builds an array from a dynamic list of input values.")]
[CeresMetadata(new string[] { "style = ConstNode", "path = Dependency", "ResolverOnly" })]
public class FlowNode_MakeArrayT<T> : FlowNode_MakeArray, IEnumerable<CeresNode>, IEnumerable, IDisposable, IPortArrayNode, IReadOnlyPortArrayNode

Type Parameters

T
Inheritance
FlowNode_MakeArrayT<T>
Implements
Inherited Members

Constructors

FlowNode_MakeArrayT()

public FlowNode_MakeArrayT()

Fields

array

[OutputPort(true)]
public CeresPort<T[]> array

Field Value

CeresPort<T[]>

inputCount

[HideInGraphEditor]
public int inputCount

Field Value

int

items

[InputPort(false)]
[CeresLabel("Item")]
[CeresMetadata(new string[] { "DefaultLength = 1" })]
public CeresPort<T>[] items

Field Value

CeresPort<T>[]

Methods

Execute(ExecutionContext)

protected override sealed 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()