OmniGraph Node omni.graph.tutorials.SimpleData

omni.graph.tutorials.SimpleData Properties

Name

Value

Version

1

Extension

omni.graph.tutorials

Icon

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

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Attributes With Simple Data

__categories

tutorials

Generated Class Name

OgnTutorialSimpleDataDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.SimpleData Description

This is a tutorial node. It creates both an input and output attribute of every simple supported data type. The values are modified in a simple way so that the compute modifies values.

omni.graph.tutorials.SimpleData Inputs

Name

Type

Default

Required?

Descripton

inputs:a_bool

bool

True

Y

This is an attribute of type boolean

uiName

Sample Boolean Input

__default

true

inputs:a_constant_input

int

0

Y

This is an input attribute whose value can be set but can only be connected as a source.

outputOnly

1

inputs:a_double

double

0

Y

This is an attribute of type 64 bit floating point

__default

0

inputs:a_float

float

0

Y

This is an attribute of type 32 bit floating point

__default

0

inputs:a_half

half

0.0

Y

This is an attribute of type 16 bit float

uiName

Sample Half Precision Input

__default

0.0

inputs:a_int

int

0

Y

This is an attribute of type 32 bit integer

__default

0

inputs:a_int64

int64

0

Y

This is an attribute of type 64 bit integer

__default

0

inputs:a_objectId

objectId

0

Y

This is an attribute of type objectId

__default

0

inputs:a_path

path

Y

This is an attribute of type path

__default

“”

inputs:a_string

string

helloString

Y

This is an attribute of type string

__default

“helloString”

inputs:a_token

token

helloToken

Y

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

__default

“helloToken”

inputs:unsigned:a_uchar

uchar

0

Y

This is an attribute of type unsigned 8 bit integer

__default

0

inputs:unsigned:a_uint

uint

0

Y

This is an attribute of type unsigned 32 bit integer

__default

0

inputs:unsigned:a_uint64

uint64

0

Y

This is an attribute of type unsigned 64 bit integer

__default

0

omni.graph.tutorials.SimpleData Outputs

Name

Type

Default

Required?

Descripton

outputs:a_bool

bool

False

Y

This is a computed attribute of type boolean

uiName

Sample Boolean Output

__default

false

outputs:a_double

double

5.0

Y

This is a computed attribute of type 64 bit floating point

__default

5.0

outputs:a_float

float

4.0

Y

This is a computed attribute of type 32 bit floating point

__default

4.0

outputs:a_half

half

1.0

Y

This is a computed attribute of type 16 bit float

uiName

Sample Half Precision Output

__default

1.0

outputs:a_int

int

2

Y

This is a computed attribute of type 32 bit integer

__default

2

outputs:a_int64

int64

3

Y

This is a computed attribute of type 64 bit integer

__default

3

outputs:a_objectId

objectId

8

Y

This is a computed attribute of type objectId

__default

8

outputs:a_path

path

/

Y

This is a computed attribute of type path

__default

“/”

outputs:a_string

string

seven

Y

This is a computed attribute of type string

__default

“seven”

outputs:a_token

token

six

Y

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

__default

“six”

outputs:unsigned:a_uchar

uchar

9

Y

This is a computed attribute of type unsigned 8 bit integer

__default

9

outputs:unsigned:a_uint

uint

10

Y

This is a computed attribute of type unsigned 32 bit integer

__default

10

outputs:unsigned:a_uint64

uint64

11

Y

This is a computed attribute of type unsigned 64 bit integer

__default

11