OmniGraph Node omni.graph.tutorials.ArrayData

omni.graph.tutorials.ArrayData Properties

Name

Value

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.graph.tutorials.ArrayData.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Array Attributes

__categories

tutorials

Generated Class Name

OgnTutorialArrayDataDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.ArrayData Description

This is a tutorial node. It will compute the array ‘result’ as the input array ‘original’ with every element multiplied by the constant ‘multiplier’.

omni.graph.tutorials.ArrayData Inputs

Name

Type

Default

Required?

Descripton

inputs:gates

bool[]

[]

Y

Boolean mask telling which elements of the array should be multiplied

__default

[]

inputs:info

token[]

[‘There’, ‘is’, ‘no’, ‘data’]

Y

List of strings providing commentary

__default

[“There”, “is”, “no”, “data”]

inputs:multiplier

float

1.0

Y

Multiplier of the array elements

__default

1.0

inputs:original

float[]

[]

Y

Array to be multiplied

__default

[]

omni.graph.tutorials.ArrayData Outputs

Name

Type

Default

Required?

Descripton

outputs:infoSize

int

None

Y

Number of letters in all strings in the info input

outputs:negativeValues

bool[]

None

Y

Array of booleans set to true if the corresponding ‘result’ is negative

outputs:result

float[]

None

Y

Multiplied array