# operator %

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

## Definition

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

## operator %(float4x4, float4x4)

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

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

### Parameters

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

### Returns

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

## operator %(float4x4, float)

Returns the result of a componentwise modulus operation on a float4x4 matrix and a float value.

```csharp
public static float4x4 operator %(float4x4 lhs, float rhs)
```

### Parameters

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

### Returns

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

## operator %(float, float4x4)

Returns the result of a componentwise modulus operation on a float value and a float4x4 matrix.

```csharp
public static float4x4 operator %(float lhs, float4x4 rhs)
```

### Parameters

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

### Returns

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