# operator %

> Returns the result of a componentwise modulus operation on two uint3x3 matrices.

## Definition

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

## operator %(uint3x3, uint3x3)

Returns the result of a componentwise modulus operation on two uint3x3 matrices.

```csharp
public static uint3x3 operator %(uint3x3 lhs, uint3x3 rhs)
```

### Parameters

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

### Returns

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

## operator %(uint3x3, uint)

Returns the result of a componentwise modulus operation on a uint3x3 matrix and a uint value.

```csharp
public static uint3x3 operator %(uint3x3 lhs, uint rhs)
```

### Parameters

**** (\[uint3x3]\(/engine/6000.7/script-reference/unity/mathematics/uint3x3)): Left hand side uint3x3 to use to compute componentwise modulus.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Right hand side uint to use to compute componentwise modulus.

### Returns

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

## operator %(uint, uint3x3)

Returns the result of a componentwise modulus operation on a uint value and a uint3x3 matrix.

```csharp
public static uint3x3 operator %(uint lhs, uint3x3 rhs)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Left hand side uint to use to compute componentwise modulus.**** (\[uint3x3]\(/engine/6000.7/script-reference/unity/mathematics/uint3x3)): Right hand side uint3x3 to use to compute componentwise modulus.

### Returns

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