Tutorial Node: Tuple Attributes

This is a tutorial node. It creates both an input and output attribute of some of the supported tuple types. The values are modified in a simple way so that the compute can be tested.

Installation

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

Inputs

Name

Type

Descripton

Default

A Double2 (inputs:a_double2)

double[2]

This is an attribute with two double values

[1.1, 2.2]

A Double3 (inputs:a_double3)

double[3]

This is an attribute with three double values

[1.1, 2.2, 3.3]

A Float2 (inputs:a_float2)

float[2]

This is an attribute with two float values

[4.4, 5.5]

A Float3 (inputs:a_float3)

float[3]

This is an attribute with three float values

[6.6, 7.7, 8.8]

A Half2 (inputs:a_half2)

half[2]

This is an attribute with two 16-bit float values

[7.0, 8.0]

A Int2 (inputs:a_int2)

int[2]

This is an attribute with two 32-bit integer values

[10, 11]

Outputs

Name

Type

Descripton

Default

A Double2 (outputs:a_double2)

double[2]

This is a computed attribute with two double values

None

A Double3 (outputs:a_double3)

double[3]

This is a computed attribute with three double values

None

A Float2 (outputs:a_float2)

float[2]

This is a computed attribute with two float values

None

A Float3 (outputs:a_float3)

float[3]

This is a computed attribute with three float values

None

A Half2 (outputs:a_half2)

half[2]

This is a computed attribute with two 16-bit float values

None

A Int2 (outputs:a_int2)

int[2]

This is a computed attribute with two 32-bit integer values

None

Metadata

Name

Value

Unique ID

omni.tutorials.TupleData

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.tutorials.TupleData.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Tuple Attributes

tags

tuple,tutorial,internal

Categories

tutorials

Generated Class Name

OgnTutorialTupleDataDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 4 - Tuple Data Node