OmniGraph Node omni.graph.tutorials.Tokens¶
omni.graph.tutorials.Tokens Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.tutorials |
Icon |
ogn/icons/omni.graph.tutorials.Tokens.svg |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Tutorial Node: Tokens |
__tokens |
[“red”, “green”, “blue”] |
__categories |
tutorials |
Generated Class Name |
OgnTutorialTokensDatabase |
Python Module |
omni.graph.tutorials |
omni.graph.tutorials.Tokens Description¶
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.
omni.graph.tutorials.Tokens Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:valuesToCheck |
token[] |
[] |
Y |
Array of tokens that are to be checked |
omni.graph.tutorials.Tokens Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:isColor |
bool[] |
None |
Y |
True values if the corresponding input value appears in the token list |