Extract Attribute Type Information
Queries information about the type of a specified attribute in an input bundle
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Attribute To Query (inputs:attrName) |
|
The name of the attribute to be queried |
input |
Bundle To Examine (inputs:data) |
|
Bundle of attributes to examine |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Attribute Array Depth (outputs: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. |
None |
Attribute Base Type (outputs:baseType) |
|
An integer representing the type of the individual components. Set to -1 if the named attribute was not in the bundle. |
None |
Attribute Component Count (outputs: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. |
None |
Full Attribute Type (outputs:fullType) |
|
A single int representing the full type information. Set to -1 if the named attribute was not in the bundle. |
None |
Attribute Role (outputs: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. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.AttributeType |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Extract Attribute Type Information |
Categories |
bundle |
Generated Class Name |
OgnAttrTypeDatabase |
Python Module |
omni.graph.nodes |