# operator +

> Returns the result of a componentwise addition operation on two uint4 vectors.

## Definition

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

## operator +(uint4, uint4)

Returns the result of a componentwise addition operation on two uint4 vectors.

```csharp
public static uint4 operator +(uint4 lhs, uint4 rhs)
```

### Parameters

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

### Returns

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

## operator +(uint4, uint)

Returns the result of a componentwise addition operation on a uint4 vector and a uint value.

```csharp
public static uint4 operator +(uint4 lhs, uint rhs)
```

### Parameters

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

### Returns

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

## operator +(uint, uint4)

Returns the result of a componentwise addition operation on a uint value and a uint4 vector.

```csharp
public static uint4 operator +(uint lhs, uint4 rhs)
```

### Parameters

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

### Returns

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