To Int64

Convert the given input to signed 64-bit integer. Array and tuple inputs are converted element-wise to arrays and tuples of the same shape. Conversion of floating-point values is performed by truncation towards zero.

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

Int64 (outputs:converted)

['int64', 'int64[]']

The value converted to 64-bit integer form.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.ToInt64

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

To Int64

Categories

math:conversion

Generated Class Name

OgnToInt64Database

Python Module

omni.graph.nodes