Compare Targets

Outputs the value of a comparison operation on target arrays.

Installation

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

Inputs

Name

Type

Descripton

Default

A (inputs:a)

target

Input A

None

Metadata

allowMultiInputs = 1

B (inputs:b)

target

Input B

None

Metadata

allowMultiInputs = 1

Compare Each (inputs:compareEach)

bool

If true, compare each array per-element. If false, compare the entire array and output a single value.

False

Operation (inputs:operation)

token

The comparison operation to perform (==,!=))

==

Metadata

allowedTokens = ==,!=

Outputs

Name

Type

Descripton

Default

Result (outputs:result)

['bool', 'bool[]']

The result of the comparison operation

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.CompareTargets

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Compare Targets

Categories

math:condition

Generated Class Name

OgnCompareTargetsDatabase

Python Module

omni.graph.nodes