Muokkaa

Jaa


Quaternion.Subtraction(Quaternion, Quaternion) Operator

Definition

Subtracts each element in a second quaternion from its corresponding element in a first quaternion.

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

Parameters

value1
Quaternion

The first quaternion.

value2
Quaternion

The second quaternion.

Returns

The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1.

Remarks

The Subtraction method defines the operation of the subtraction operator for Quaternion objects.

Applies to