OmniGraph Node omni.graph.tutorials.ExtendedTypesPy

omni.graph.tutorials.ExtendedTypesPy Properties

Name

Value

Version

1

Extension

omni.graph.tutorials

Icon

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

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Python Node: Extended Attribute Types

__categories

tutorials

__language

Python

Generated Class Name

OgnTutorialExtendedTypesPyDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.ExtendedTypesPy Description

This is a tutorial node. It exercises functionality for the manipulation of the extended attribute types. It is identical to OgnTutorialExtendedTypes.ogn, except the language of implementation is selected to be python.

omni.graph.tutorials.ExtendedTypesPy Inputs

Name

Type

Default

Required?

Descripton

inputs:flexible

[‘float[3][]’, ‘token’]

None

Y

Flexible data type input

uiName

Flexible Values

inputs:floatOrToken

[‘float’, ‘token’]

None

Y

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

uiName

Float Or Token

inputs:toNegate

[‘bool[]’, ‘float[]’]

None

Y

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

uiName

To Negate

inputs:tuple

any

None

Y

Variable size/type tuple values

uiName

Tuple Values

omni.graph.tutorials.ExtendedTypesPy Outputs

Name

Type

Default

Required?

Descripton

outputs:doubledResult

any

None

Y

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

uiName

Doubled Input Value

outputs:flexible

[‘float[3][]’, ‘token’]

None

Y

Flexible data type output

uiName

Inverted Flexible Values

outputs:negatedResult

[‘bool[]’, ‘float[]’]

None

Y

Result of negating the data from the ‘toNegate’ input

uiName

Negated Array Values

outputs:tuple

any

None

Y

Negated values of the tuple input

uiName

Negative Tuple Values