# operator ++(int2x2)

> Returns the result of a componentwise increment operation on an int2x2 matrix.

## Definition

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

```csharp
public static int2x2 operator ++(int2x2 val)
```

### Parameters

**** (\[int2x2]\(/engine/6000.6/script-reference/unity/mathematics/int2x2)): Value to use when computing the componentwise increment.

### Returns

| Type                                                                  | Description                                   |
| --------------------------------------------------------------------- | --------------------------------------------- |
| [int2x2](/engine/6000.6/script-reference/unity/mathematics/int2x2.md) | int2x2 result of the componentwise increment. |
