# operator +

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

## Definition

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

## operator +(double3, double3)

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

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

### Parameters

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

### Returns

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

## operator +(double3, double)

Returns the result of a componentwise addition operation on a double3 vector and a double value.

```csharp
public static double3 operator +(double3 lhs, double rhs)
```

### Parameters

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

### Returns

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

## operator +(double, double3)

Returns the result of a componentwise addition operation on a double value and a double3 vector.

```csharp
public static double3 operator +(double lhs, double3 rhs)
```

### Parameters

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

### Returns

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