OmniGraph Node omni.graph.nodes.BooleanXor

omni.graph.nodes.BooleanXor Properties

Name

Value

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

omni.graph.nodes.BooleanXor Description

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 will be broadcast to the size of the array. Returns an array of booleans if either input is an array, otherwise returning a boolean.

omni.graph.nodes.BooleanXor Inputs

Name

Type

Default

Required?

Descripton

inputs:a

[‘bool’, ‘bool[]’]

None

Y

Input A: bool or bool array.

inputs:b

[‘bool’, ‘bool[]’]

None

Y

Input B: bool or bool array.

omni.graph.nodes.BooleanXor Outputs

Name

Type

Default

Required?

Descripton

outputs:result

[‘bool’, ‘bool[]’]

None

Y

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

uiName

Result