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

token

The name of the attribute to be queried

input

data

bundle

Bundle of attributes to examine

Outputs

Name

Type

Description

Default

baseType

int

An integer representing the type of the individual components. Set to -1 if the named attribute was not in the bundle.

componentCount

int

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

int

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

int

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

int

A single int representing the full type information. Set to -1 if the named attribute was not in the bundle.