Tutorial Python Node: Tokens#

This is a tutorial node. It exercises the feature of providing hardcoded token values in the database after a node type has been initialized. It sets output booleans to the truth value of whether corresponding inputs appear in the hardcoded token list.

Installation#

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

Inputs#

Name

Type

Description

Default

valuesToCheck

token[]

Array of tokens that are to be checked

Outputs#

Name

Type

Description

Default

isColor

bool[]

True values if the corresponding input value appears in the token list