OmniGraph Node omni.graph.nodes.MakeArray

omni.graph.nodes.MakeArray Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Make Array

__categories

math:array

__language

Python

Generated Class Name

OgnMakeArrayDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.MakeArray Description

Makes an output array attribute from input values, in the order of the inputs. If ‘arraySize’ is less than 5, the top ‘arraySize’ elements will be taken. If ‘arraySize’ is greater than 5 element e will be repeated to fill the remaining space

omni.graph.nodes.MakeArray Inputs

Name

Type

Default

Required?

Descripton

inputs:a

[‘colord[3]’, ‘colord[4]’, ‘colorf[3]’, ‘colorf[4]’, ‘colorh[3]’, ‘colorh[4]’, ‘double’, ‘double[2]’, ‘double[3]’, ‘double[4]’, ‘float’, ‘float[2]’, ‘float[3]’, ‘float[4]’, ‘frame[4]’, ‘half’, ‘half[2]’, ‘half[3]’, ‘half[4]’, ‘int’, ‘int64’, ‘int[2]’, ‘int[3]’, ‘int[4]’, ‘matrixd[3]’, ‘matrixd[4]’, ‘normald[3]’, ‘normalf[3]’, ‘normalh[3]’, ‘pointd[3]’, ‘pointf[3]’, ‘pointh[3]’, ‘quatd[4]’, ‘quatf[4]’, ‘quath[4]’, ‘texcoordd[2]’, ‘texcoordd[3]’, ‘texcoordf[2]’, ‘texcoordf[3]’, ‘texcoordh[2]’, ‘texcoordh[3]’, ‘timecode’, ‘token’, ‘transform[4]’, ‘uchar’, ‘uint’, ‘uint64’, ‘vectord[3]’, ‘vectorf[3]’, ‘vectorh[3]’]

None

Y

Element 1

inputs:arraySize

int

0

Y

The size of the array to create

inputs:b

[‘colord[3]’, ‘colord[4]’, ‘colorf[3]’, ‘colorf[4]’, ‘colorh[3]’, ‘colorh[4]’, ‘double’, ‘double[2]’, ‘double[3]’, ‘double[4]’, ‘float’, ‘float[2]’, ‘float[3]’, ‘float[4]’, ‘frame[4]’, ‘half’, ‘half[2]’, ‘half[3]’, ‘half[4]’, ‘int’, ‘int64’, ‘int[2]’, ‘int[3]’, ‘int[4]’, ‘matrixd[3]’, ‘matrixd[4]’, ‘normald[3]’, ‘normalf[3]’, ‘normalh[3]’, ‘pointd[3]’, ‘pointf[3]’, ‘pointh[3]’, ‘quatd[4]’, ‘quatf[4]’, ‘quath[4]’, ‘texcoordd[2]’, ‘texcoordd[3]’, ‘texcoordf[2]’, ‘texcoordf[3]’, ‘texcoordh[2]’, ‘texcoordh[3]’, ‘timecode’, ‘token’, ‘transform[4]’, ‘uchar’, ‘uint’, ‘uint64’, ‘vectord[3]’, ‘vectorf[3]’, ‘vectorh[3]’]

None

Y

Element 2

inputs:c

[‘colord[3]’, ‘colord[4]’, ‘colorf[3]’, ‘colorf[4]’, ‘colorh[3]’, ‘colorh[4]’, ‘double’, ‘double[2]’, ‘double[3]’, ‘double[4]’, ‘float’, ‘float[2]’, ‘float[3]’, ‘float[4]’, ‘frame[4]’, ‘half’, ‘half[2]’, ‘half[3]’, ‘half[4]’, ‘int’, ‘int64’, ‘int[2]’, ‘int[3]’, ‘int[4]’, ‘matrixd[3]’, ‘matrixd[4]’, ‘normald[3]’, ‘normalf[3]’, ‘normalh[3]’, ‘pointd[3]’, ‘pointf[3]’, ‘pointh[3]’, ‘quatd[4]’, ‘quatf[4]’, ‘quath[4]’, ‘texcoordd[2]’, ‘texcoordd[3]’, ‘texcoordf[2]’, ‘texcoordf[3]’, ‘texcoordh[2]’, ‘texcoordh[3]’, ‘timecode’, ‘token’, ‘transform[4]’, ‘uchar’, ‘uint’, ‘uint64’, ‘vectord[3]’, ‘vectorf[3]’, ‘vectorh[3]’]

None

Y

Element 3

inputs:d

[‘colord[3]’, ‘colord[4]’, ‘colorf[3]’, ‘colorf[4]’, ‘colorh[3]’, ‘colorh[4]’, ‘double’, ‘double[2]’, ‘double[3]’, ‘double[4]’, ‘float’, ‘float[2]’, ‘float[3]’, ‘float[4]’, ‘frame[4]’, ‘half’, ‘half[2]’, ‘half[3]’, ‘half[4]’, ‘int’, ‘int64’, ‘int[2]’, ‘int[3]’, ‘int[4]’, ‘matrixd[3]’, ‘matrixd[4]’, ‘normald[3]’, ‘normalf[3]’, ‘normalh[3]’, ‘pointd[3]’, ‘pointf[3]’, ‘pointh[3]’, ‘quatd[4]’, ‘quatf[4]’, ‘quath[4]’, ‘texcoordd[2]’, ‘texcoordd[3]’, ‘texcoordf[2]’, ‘texcoordf[3]’, ‘texcoordh[2]’, ‘texcoordh[3]’, ‘timecode’, ‘token’, ‘transform[4]’, ‘uchar’, ‘uint’, ‘uint64’, ‘vectord[3]’, ‘vectorf[3]’, ‘vectorh[3]’]

None

Y

Element 4

inputs:e

[‘colord[3]’, ‘colord[4]’, ‘colorf[3]’, ‘colorf[4]’, ‘colorh[3]’, ‘colorh[4]’, ‘double’, ‘double[2]’, ‘double[3]’, ‘double[4]’, ‘float’, ‘float[2]’, ‘float[3]’, ‘float[4]’, ‘frame[4]’, ‘half’, ‘half[2]’, ‘half[3]’, ‘half[4]’, ‘int’, ‘int64’, ‘int[2]’, ‘int[3]’, ‘int[4]’, ‘matrixd[3]’, ‘matrixd[4]’, ‘normald[3]’, ‘normalf[3]’, ‘normalh[3]’, ‘pointd[3]’, ‘pointf[3]’, ‘pointh[3]’, ‘quatd[4]’, ‘quatf[4]’, ‘quath[4]’, ‘texcoordd[2]’, ‘texcoordd[3]’, ‘texcoordf[2]’, ‘texcoordf[3]’, ‘texcoordh[2]’, ‘texcoordh[3]’, ‘timecode’, ‘token’, ‘transform[4]’, ‘uchar’, ‘uint’, ‘uint64’, ‘vectord[3]’, ‘vectorf[3]’, ‘vectorh[3]’]

None

Y

Element 5

omni.graph.nodes.MakeArray Outputs

Name

Type

Default

Required?

Descripton

outputs:array

[‘colord[3][]’, ‘colord[4][]’, ‘colorf[3][]’, ‘colorf[4][]’, ‘colorh[3][]’, ‘colorh[4][]’, ‘double[2][]’, ‘double[3][]’, ‘double[4][]’, ‘double[]’, ‘float[2][]’, ‘float[3][]’, ‘float[4][]’, ‘float[]’, ‘frame[4][]’, ‘half[2][]’, ‘half[3][]’, ‘half[4][]’, ‘half[]’, ‘int64[]’, ‘int[2][]’, ‘int[3][]’, ‘int[4][]’, ‘int[]’, ‘matrixd[3][]’, ‘matrixd[4][]’, ‘normald[3][]’, ‘normalf[3][]’, ‘normalh[3][]’, ‘pointd[3][]’, ‘pointf[3][]’, ‘pointh[3][]’, ‘quatd[4][]’, ‘quatf[4][]’, ‘quath[4][]’, ‘texcoordd[2][]’, ‘texcoordd[3][]’, ‘texcoordf[2][]’, ‘texcoordf[3][]’, ‘texcoordh[2][]’, ‘texcoordh[3][]’, ‘timecode[]’, ‘token[]’, ‘transform[4][]’, ‘uchar[]’, ‘uint64[]’, ‘uint[]’, ‘vectord[3][]’, ‘vectorf[3][]’, ‘vectorh[3][]’]

None

Y

The array of copied values of inputs in the given order