Tutorial Node: Defaults#

This is a tutorial node. It will move the values of inputs to corresponding outputs. Inputs all have unspecified, and therefore empty, default values.

Installation#

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

Inputs#

Name

Type

Descripton

Default

A Array (inputs:a_array)

float[]

This is an attribute of type array of floats

[]

A Bool (inputs:a_bool)

bool

This is an attribute of type boolean

False

A Double (inputs:a_double)

double

This is an attribute of type 64 bit floating point

0.0

A Float (inputs:a_float)

float

This is an attribute of type 32 bit floating point

0.0

A Half (inputs:a_half)

half

This is an attribute of type 16 bit floating point

0.0

A Int (inputs:a_int)

int

This is an attribute of type 32 bit integer

0

A Int2 (inputs:a_int2)

int[2]

This is an attribute of type 2-tuple of integers

[0, 0]

A Int64 (inputs:a_int64)

int64

This is an attribute of type 64 bit integer

0

A Matrix (inputs:a_matrix)

matrixd[2]

This is an attribute of type 2x2 matrix

[[1.0, 0.0], [0.0, 1.0]]

A String (inputs:a_string)

string

This is an attribute of type string

A Token (inputs:a_token)

token

This is an attribute of type interned string with fast comparison and hashing

A Uchar (inputs:a_uchar)

uchar

This is an attribute of type unsigned 8 bit integer

0

A Uint (inputs:a_uint)

uint

This is an attribute of type unsigned 32 bit integer

0

A Uint64 (inputs:a_uint64)

uint64

This is an attribute of type unsigned 64 bit integer

0

Outputs#

Name

Type

Descripton

Default

A Array (outputs:a_array)

float[]

This is a computed attribute of type array of floats

None

A Bool (outputs:a_bool)

bool

This is a computed attribute of type boolean

None

A Double (outputs:a_double)

double

This is a computed attribute of type 64 bit floating point

None

A Float (outputs:a_float)

float

This is a computed attribute of type 32 bit floating point

None

A Half (outputs:a_half)

half

This is a computed attribute of type 16 bit floating point

None

A Int (outputs:a_int)

int

This is a computed attribute of type 32 bit integer

None

A Int2 (outputs:a_int2)

int[2]

This is a computed attribute of type 2-tuple of integers

None

A Int64 (outputs:a_int64)

int64

This is a computed attribute of type 64 bit integer

None

A Matrix (outputs:a_matrix)

matrixd[2]

This is a computed attribute of type 2x2 matrix

None

A String (outputs:a_string)

string

This is a computed attribute of type string

None

A Token (outputs:a_token)

token

This is a computed attribute of type interned string with fast comparison and hashing

None

A Uchar (outputs:a_uchar)

uchar

This is a computed attribute of type unsigned 8 bit integer

None

A Uint (outputs:a_uint)

uint

This is a computed attribute of type unsigned 32 bit integer

None

A Uint64 (outputs:a_uint64)

uint64

This is a computed attribute of type unsigned 64 bit integer

None

Metadata#

Name

Value

Unique ID

omni.graph.tutorials.Defaults

Version

1

Extension

omni.graph.tutorials

Icon

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

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Defaults

Categories

tutorials

Generated Class Name

OgnTutorialDefaultsDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 14 - Defaults