.. _omni_graph_nodes_BooleanXor_1:

.. _omni_graph_nodes_BooleanXor:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Boolean XOR
    :keywords: lang-en omnigraph node math:condition threadsafe nodes boolean-xor


Boolean XOR
===========

.. <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.

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.nodes<ext_omni_graph_nodes>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "inputs:a", "``['bool', 'bool[]']``", "Input A: bool or bool array.", "None"
    "inputs:b", "``['bool', 'bool[]']``", "Input B: bool or bool array.", "None"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "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
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "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"

