OmniGraph Node omni.graph.nodes.AttributeType

omni.graph.nodes.AttributeType Properties

Name

Value

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

omni.graph.nodes.AttributeType Description

Queries information about the type of a specified attribute in an input bundle

omni.graph.nodes.AttributeType Inputs

Name

Type

Default

Required?

Descripton

inputs:attrName

token

input

Y

The name of the attribute to be queried

uiName

Attribute To Query

__default

“input”

inputs:data

bundle

None

Y

Bundle of attributes to examine

uiName

Bundle To Examine

omni.graph.nodes.AttributeType Outputs

Name

Type

Default

Required?

Descripton

outputs:arrayDepth

int

None

Y

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.

uiName

Attribute Array Depth

outputs:baseType

int

None

Y

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

uiName

Attribute Base Type

outputs:componentCount

int

None

Y

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.

uiName

Attribute Component Count

outputs:fullType

int

None

Y

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

uiName

Full Attribute Type

outputs:role

int

None

Y

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.

uiName

Attribute Role