Tutorial Node: Array Attributes

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

Installation

To use this Node, you must enable omni.graph.tutorials in the Extension Manager.

Inputs

Name

Type

Description

Default

original

float[]

Array to be multiplied

[]

gates

bool[]

Boolean mask telling which elements of the array should be multiplied

[]

multiplier

float

Multiplier of the array elements

1.0

info

token[]

List of strings providing commentary

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

Outputs

Name

Type

Description

Default

result

float[]

Multiplied array

negativeValues

bool[]

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

infoSize

int

Number of letters in all strings in the info input