---
title: operator +(quaternion4, quaternion4)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4/op-addition
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4/op-addition.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:51:01.664Z
locale: en-us
---

# operator +(quaternion4, quaternion4)

> Adds the components of two quaternion4 values.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

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

### Parameters

**** (\[quaternion4]\(/engine/7000.0/script-reference/unity/animations/quaternion4)): The first [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) to add.**** (\[quaternion4]\(/engine/7000.0/script-reference/unity/animations/quaternion4)): The second [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) to add.

### Returns

| Type                                                                           | Description                                                                                                                                            |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) | The [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) whose components are the sums of the components of `lhs` and `rhs`. |

### Remarks

The result isn't normalized, and the operator doesn't flip the quaternions into the same hemisphere. To flip `rhs` into the hemisphere of `lhs` before the addition, use [Quaternion4Extensions.Add](/engine/7000.0/script-reference/unity/animations/quaternion4extensions/add.md).
