Tutorial Python Node: Extended Attribute Types#
This is a tutorial node. It exercises functionality for the manipulation of the extended attribute types. It is identical to OgnTutorialExtendedTypes.ogn, except the language of implementation is selected to be python.
Installation#
To use this Node, you must enable omni.graph.tutorials
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Float Or Token (floatOrToken) |
|
Attribute that can either be a float value or a token value |
|
To Negate (toNegate) |
|
Attribute that can either be an array of booleans or an array of floats |
|
Tuple Values (tuple) |
|
Variable size/type tuple values |
|
Flexible Values (flexible) |
|
Flexible data type input |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Doubled Input Value (doubledResult) |
|
If the input ‘floatOrToken’ is a float this is 2x the value. If it is a token this contains the input token repeated twice. |
|
Negated Array Values (negatedResult) |
|
Result of negating the data from the ‘toNegate’ input |
|
Negative Tuple Values (tuple) |
|
Negated values of the tuple input |
|
Inverted Flexible Values (flexible) |
|
Flexible data type output |