# operator |

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

## Definition

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

## operator |(int3x3, int3x3)

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

```csharp
public static int3x3 operator |(int3x3 lhs, int3x3 rhs)
```

### Parameters

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

### Returns

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

## operator |(int3x3, int)

Returns the result of a componentwise bitwise or operation on an int3x3 matrix and an int value.

```csharp
public static int3x3 operator |(int3x3 lhs, int rhs)
```

### Parameters

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

### Returns

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

## operator |(int, int3x3)

Returns the result of a componentwise bitwise or operation on an int value and an int3x3 matrix.

```csharp
public static int3x3 operator |(int lhs, int3x3 rhs)
```

### Parameters

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

### Returns

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