Tutorial Node: Role-Based Attributes
This is a tutorial node. It creates both an input and output attribute of every supported role-based 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_color3d |
|
This is an attribute interpreted as a double-precision 3d color |
[0.0, 0.0, 0.0] |
a_color3f |
|
This is an attribute interpreted as a single-precision 3d color |
[0.0, 0.0, 0.0] |
a_color3h |
|
This is an attribute interpreted as a half-precision 3d color |
[0.0, 0.0, 0.0] |
a_color4d |
|
This is an attribute interpreted as a double-precision 4d color |
[0.0, 0.0, 0.0, 0.0] |
a_color4f |
|
This is an attribute interpreted as a single-precision 4d color |
[0.0, 0.0, 0.0, 0.0] |
a_color4h |
|
This is an attribute interpreted as a half-precision 4d color |
[0.0, 0.0, 0.0, 0.0] |
a_frame |
|
This is an attribute interpreted as a coordinate frame |
[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]] |
a_matrix2d |
|
This is an attribute interpreted as a double-precision 2d matrix |
[[1.0, 0.0], [0.0, 1.0]] |
a_matrix3d |
|
This is an attribute interpreted as a double-precision 3d matrix |
[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]] |
a_matrix4d |
|
This is an attribute interpreted as a double-precision 4d matrix |
[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]] |
a_normal3d |
|
This is an attribute interpreted as a double-precision 3d normal |
[0.0, 0.0, 0.0] |
a_normal3f |
|
This is an attribute interpreted as a single-precision 3d normal |
[0.0, 0.0, 0.0] |
a_normal3h |
|
This is an attribute interpreted as a half-precision 3d normal |
[0.0, 0.0, 0.0] |
a_point3d |
|
This is an attribute interpreted as a double-precision 3d point |
[0.0, 0.0, 0.0] |
a_point3f |
|
This is an attribute interpreted as a single-precision 3d point |
[0.0, 0.0, 0.0] |
a_point3h |
|
This is an attribute interpreted as a half-precision 3d point |
[0.0, 0.0, 0.0] |
a_quatd |
|
This is an attribute interpreted as a double-precision 4d quaternion |
[0.0, 0.0, 0.0, 0.0] |
a_quatf |
|
This is an attribute interpreted as a single-precision 4d quaternion |
[0.0, 0.0, 0.0, 0.0] |
a_quath |
|
This is an attribute interpreted as a half-precision 4d quaternion |
[0.0, 0.0, 0.0, 0.0] |
a_texcoord2d |
|
This is an attribute interpreted as a double-precision 2d texcoord |
[0.0, 0.0] |
a_texcoord2f |
|
This is an attribute interpreted as a single-precision 2d texcoord |
[0.0, 0.0] |
a_texcoord2h |
|
This is an attribute interpreted as a half-precision 2d texcoord |
[0.0, 0.0] |
a_texcoord3d |
|
This is an attribute interpreted as a double-precision 3d texcoord |
[0.0, 0.0, 0.0] |
a_texcoord3f |
|
This is an attribute interpreted as a single-precision 3d texcoord |
[0.0, 0.0, 0.0] |
a_texcoord3h |
|
This is an attribute interpreted as a half-precision 3d texcoord |
[0.0, 0.0, 0.0] |
a_timecode |
|
This is a computed attribute interpreted as a timecode |
1.0 |
a_vector3d |
|
This is an attribute interpreted as a double-precision 3d vector |
[0.0, 0.0, 0.0] |
a_vector3f |
|
This is an attribute interpreted as a single-precision 3d vector |
[0.0, 0.0, 0.0] |
a_vector3h |
|
This is an attribute interpreted as a half-precision 3d vector |
[0.0, 0.0, 0.0] |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
a_color3d |
|
This is a computed attribute interpreted as a double-precision 3d color |
|
a_color3f |
|
This is a computed attribute interpreted as a single-precision 3d color |
|
a_color3h |
|
This is a computed attribute interpreted as a half-precision 3d color |
|
a_color4d |
|
This is a computed attribute interpreted as a double-precision 4d color |
|
a_color4f |
|
This is a computed attribute interpreted as a single-precision 4d color |
|
a_color4h |
|
This is a computed attribute interpreted as a half-precision 4d color |
|
a_frame |
|
This is a computed attribute interpreted as a coordinate frame |
|
a_matrix2d |
|
This is a computed attribute interpreted as a double-precision 2d matrix |
|
a_matrix3d |
|
This is a computed attribute interpreted as a double-precision 3d matrix |
|
a_matrix4d |
|
This is a computed attribute interpreted as a double-precision 4d matrix |
|
a_normal3d |
|
This is a computed attribute interpreted as a double-precision 3d normal |
|
a_normal3f |
|
This is a computed attribute interpreted as a single-precision 3d normal |
|
a_normal3h |
|
This is a computed attribute interpreted as a half-precision 3d normal |
|
a_point3d |
|
This is a computed attribute interpreted as a double-precision 3d point |
|
a_point3f |
|
This is a computed attribute interpreted as a single-precision 3d point |
|
a_point3h |
|
This is a computed attribute interpreted as a half-precision 3d point |
|
a_quatd |
|
This is a computed attribute interpreted as a double-precision 4d quaternion |
|
a_quatf |
|
This is a computed attribute interpreted as a single-precision 4d quaternion |
|
a_quath |
|
This is a computed attribute interpreted as a half-precision 4d quaternion |
|
a_texcoord2d |
|
This is a computed attribute interpreted as a double-precision 2d texcoord |
|
a_texcoord2f |
|
This is a computed attribute interpreted as a single-precision 2d texcoord |
|
a_texcoord2h |
|
This is a computed attribute interpreted as a half-precision 2d texcoord |
|
a_texcoord3d |
|
This is a computed attribute interpreted as a double-precision 3d texcoord |
|
a_texcoord3f |
|
This is a computed attribute interpreted as a single-precision 3d texcoord |
|
a_texcoord3h |
|
This is a computed attribute interpreted as a half-precision 3d texcoord |
|
a_timecode |
|
This is a computed attribute interpreted as a timecode |
|
a_vector3d |
|
This is a computed attribute interpreted as a double-precision 3d vector |
|
a_vector3f |
|
This is a computed attribute interpreted as a single-precision 3d vector |
|
a_vector3h |
|
This is a computed attribute interpreted as a half-precision 3d vector |