Quaternion.Add(Quaternion, Quaternion) Method

Definition

Adds each element in one quaternion with its corresponding element in a second quaternion.

public:
 static System::Numerics::Quaternion Add(System::Numerics::Quaternion value1, System::Numerics::Quaternion value2);
public static System.Numerics.Quaternion Add (System.Numerics.Quaternion value1, System.Numerics.Quaternion value2);
static member Add : System.Numerics.Quaternion * System.Numerics.Quaternion -> System.Numerics.Quaternion
Public Shared Function Add (value1 As Quaternion, value2 As Quaternion) As Quaternion

Parameters

value1
Quaternion

The first quaternion.

value2
Quaternion

The second quaternion.

Returns

The quaternion that contains the summed values of value1 and value2.

Applies to