Extract Attribute Type Information#
Queries information about the type of a specified attribute in an input bundle
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
attrName |
|
The name of the attribute to be queried |
input |
data |
|
Bundle of attributes to examine |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
baseType |
|
An integer representing the type of the individual components. Set to -1 if the named attribute was not in the bundle. |
|
componentCount |
|
Number of components in each tuple, e.g. one for float, three for point3f, 16 for matrix4d. Set to -1 if the named attribute was not in the bundle. |
|
arrayDepth |
|
Zero for a single value, one for an array, two for an array of arrays. Set to -1 if the named attribute was not in the bundle. |
|
role |
|
An integer representing semantic meaning of the type, e.g. point3f vs. normal3f vs. vector3f vs. float3. Set to -1 if the named attribute was not in the bundle. |
|
fullType |
|
A single int representing the full type information. Set to -1 if the named attribute was not in the bundle. |