Quaternion.Add(Quaternion, Quaternion) Quaternion.Add(Quaternion, Quaternion) Quaternion.Add(Quaternion, Quaternion) Quaternion.Add(Quaternion, Quaternion) Method

定義

將一個四元數的每個元素和第二個四元數的相對應元素相加。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

參數

value1
Quaternion Quaternion Quaternion Quaternion

第一個四元數。The first quaternion.

value2
Quaternion Quaternion Quaternion Quaternion

第二個四元數。The second quaternion.

傳回

包含 value1value2 加總值的四元數。The quaternion that contains the summed values of value1 and value2.

適用於