Tutorial Node: Attributes With Simple Data#
This is a tutorial node. It creates both an input and output attribute of every simple supported data type. The values are modified in a simple way so that the compute modifies values.
Installation#
To use this Node, you must enable omni.graph.tutorials
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
a_bool |
|
This is an attribute of type boolean |
True |
Sample Half Precision Input (a_half) |
|
This is an attribute of type 16 bit float |
0.0 |
a_int |
|
This is an attribute of type 32 bit integer |
0 |
a_int64 |
|
This is an attribute of type 64 bit integer |
0 |
a_float |
|
This is an attribute of type 32 bit floating point |
0 |
a_double |
|
This is an attribute of type 64 bit floating point |
0 |
a_token |
|
This is an attribute of type interned string with fast comparison and hashing |
helloToken |
a_path |
|
This is an attribute of type path |
|
a_string |
|
This is an attribute of type string |
helloString |
a_objectId |
|
This is an attribute of type objectId |
0 |
unsigned:a_uchar |
|
This is an attribute of type unsigned 8 bit integer |
0 |
unsigned:a_uint |
|
This is an attribute of type unsigned 32 bit integer |
0 |
unsigned:a_uint64 |
|
This is an attribute of type unsigned 64 bit integer |
0 |
a_constant_input |
|
This is an input attribute whose value can be set but can only be connected as a source. |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Sample Boolean Output (a_bool) |
|
This is a computed attribute of type boolean |
False |
Sample Half Precision Output (a_half) |
|
This is a computed attribute of type 16 bit float |
1.0 |
a_int |
|
This is a computed attribute of type 32 bit integer |
2 |
a_int64 |
|
This is a computed attribute of type 64 bit integer |
3 |
a_float |
|
This is a computed attribute of type 32 bit floating point |
4.0 |
a_double |
|
This is a computed attribute of type 64 bit floating point |
5.0 |
a_token |
|
This is a computed attribute of type interned string with fast comparison and hashing |
six |
a_path |
|
This is a computed attribute of type path |
/ |
a_string |
|
This is a computed attribute of type string |
seven |
a_objectId |
|
This is a computed attribute of type objectId |
8 |
unsigned:a_uchar |
|
This is a computed attribute of type unsigned 8 bit integer |
9 |
unsigned:a_uint |
|
This is a computed attribute of type unsigned 32 bit integer |
10 |
unsigned:a_uint64 |
|
This is a computed attribute of type unsigned 64 bit integer |
11 |