Boolean XOR

Boolean XOR on two inputs. If a and b are arrays, XOR operations will be performed pair-wise. Sizes of a and b must match. If only one input is an array, the other input(s) will be applied individually to each element in the array. Returns an array of booleans if either input is an array, otherwise returning a boolean.

Installation

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

Inputs

Name

Type

Descripton

Default

A (inputs:a)

['bool', 'bool[]']

Input A: bool or bool array.

None

B (inputs:b)

['bool', 'bool[]']

Input B: bool or bool array.

None

Outputs

Name

Type

Descripton

Default

Result (outputs:result)

['bool', 'bool[]']

The result of the boolean XOR - an array of booleans if either input is an array, otherwise a boolean.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.BooleanXor

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Boolean XOR

Categories

math:condition

Generated Class Name

OgnXorDatabase

Python Module

omni.graph.nodes