# operator ^

> Returns the result of a componentwise bitwise exclusive or operation on two int3 vectors.

## Definition

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

## operator ^(int3, int3)

Returns the result of a componentwise bitwise exclusive or operation on two int3 vectors.

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

### Parameters

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

### Returns

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

## operator ^(int3, int)

Returns the result of a componentwise bitwise exclusive or operation on an int3 vector and an int value.

```csharp
public static int3 operator ^(int3 lhs, int rhs)
```

### Parameters

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

### Returns

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

## operator ^(int, int3)

Returns the result of a componentwise bitwise exclusive or operation on an int value and an int3 vector.

```csharp
public static int3 operator ^(int lhs, int3 rhs)
```

### Parameters

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

### Returns

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