Tutorial Node: Extended Attribute Types

This is a tutorial node. It exercises functionality for the manipulation of the extended attribute types.

Installation

To use this node enable omni.graph.tutorials in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Flexible Values (inputs:flexible)

['float[3][]', 'token']

Flexible data type input

None

Float Or Token (inputs:floatOrToken)

['float', 'token']

Attribute that can either be a float value or a token value

None

To Negate (inputs:toNegate)

['bool[]', 'float[]']

Attribute that can either be an array of booleans or an array of floats

None

Tuple Values (inputs:tuple)

any

Variable size/type tuple values

None

Outputs

Name

Type

Descripton

Default

Doubled Input Value (outputs:doubledResult)

any

If the input ‘simpleInput’ is a float this is 2x the value. If it is a token this contains the input token repeated twice.

None

Inverted Flexible Values (outputs:flexible)

['float[3][]', 'token']

Flexible data type output

None

Negated Array Values (outputs:negatedResult)

['bool[]', 'float[]']

Result of negating the data from the ‘toNegate’ input

None

Negative Tuple Values (outputs:tuple)

any

Negated values of the tuple input

None

Metadata

Name

Value

Unique ID

omni.graph.tutorials.ExtendedTypes

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.graph.tutorials.ExtendedTypes.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Extended Attribute Types

Categories

tutorials

Generated Class Name

OgnTutorialExtendedTypesDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 19 - Extended Attribute Types