operator +(quaternion4, quaternion4)
Adds the components of two quaternion4 values.
Read time 1 minuteLast updated 5 hours ago
Definition
- Type: Operator
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static quaternion4 operator +(quaternion4 lhs, quaternion4 rhs)
Parameters
Returns
Type | Description |
|---|---|
| quaternion4 | The quaternion4 whose components are the sums of the components of |
Remarks
The result isn't normalized, and the operator doesn't flip the quaternions into the same hemisphere. To flip into the hemisphere of before the addition, use Quaternion4Extensions.Add.
rhslhs