To UInt

Converts the input to 32-bit unsigned integer. Array inputs are converted element-wise to arrays of the same shape. Conversion of floating-point values is performed by truncation towards zero. Conversion of negative values is performed by subtracting the converted positive value from the value 2e32.

Installation

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

Inputs

Name

Type

Descripton

Default

Value (inputs:value)

['bool', 'bool[]', 'double', 'double[]', 'float', 'float[]', 'half', 'half[]', 'int', 'int64', 'int64[]', 'int[]', 'uchar', 'uchar[]', 'uint', 'uint64', 'uint64[]', 'uint[]']

The numeric or boolean value to convert.

None

Outputs

Name

Type

Descripton

Default

UInt (outputs:converted)

['uint', 'uint[]']

The value converted to 32-bit unsigned integer form.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.ToUint

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

To UInt

Categories

math:conversion

Generated Class Name

OgnToUintDatabase

Python Module

omni.graph.nodes