# operator ^

> Returns the result of a componentwise bitwise exclusive or operation on two bool3x4 matrices.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.7/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## operator ^(bool3x4, bool3x4)

Returns the result of a componentwise bitwise exclusive or operation on two bool3x4 matrices.

```csharp
public static bool3x4 operator ^(bool3x4 lhs, bool3x4 rhs)
```

### Parameters

**** (\[bool3x4]\(/engine/6000.7/script-reference/unity/mathematics/bool3x4)): Left hand side bool3x4 to use to compute componentwise bitwise exclusive or.**** (\[bool3x4]\(/engine/6000.7/script-reference/unity/mathematics/bool3x4)): Right hand side bool3x4 to use to compute componentwise bitwise exclusive or.

### Returns

| Type                                                                    | Description                                               |
| ----------------------------------------------------------------------- | --------------------------------------------------------- |
| [bool3x4](/engine/6000.7/script-reference/unity/mathematics/bool3x4.md) | bool3x4 result of the componentwise bitwise exclusive or. |

## operator ^(bool3x4, bool)

Returns the result of a componentwise bitwise exclusive or operation on a bool3x4 matrix and a bool value.

```csharp
public static bool3x4 operator ^(bool3x4 lhs, bool rhs)
```

### Parameters

**** (\[bool3x4]\(/engine/6000.7/script-reference/unity/mathematics/bool3x4)): Left hand side bool3x4 to use to compute componentwise bitwise exclusive or.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Right hand side bool to use to compute componentwise bitwise exclusive or.

### Returns

| Type                                                                    | Description                                               |
| ----------------------------------------------------------------------- | --------------------------------------------------------- |
| [bool3x4](/engine/6000.7/script-reference/unity/mathematics/bool3x4.md) | bool3x4 result of the componentwise bitwise exclusive or. |

## operator ^(bool, bool3x4)

Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool3x4 matrix.

```csharp
public static bool3x4 operator ^(bool lhs, bool3x4 rhs)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Left hand side bool to use to compute componentwise bitwise exclusive or.**** (\[bool3x4]\(/engine/6000.7/script-reference/unity/mathematics/bool3x4)): Right hand side bool3x4 to use to compute componentwise bitwise exclusive or.

### Returns

| Type                                                                    | Description                                               |
| ----------------------------------------------------------------------- | --------------------------------------------------------- |
| [bool3x4](/engine/6000.7/script-reference/unity/mathematics/bool3x4.md) | bool3x4 result of the componentwise bitwise exclusive or. |
