Quaternion.UnaryNegation(Quaternion) Quaternion.UnaryNegation(Quaternion) Quaternion.UnaryNegation(Quaternion) Quaternion.UnaryNegation(Quaternion) Operator

定義

將四元數的每個元件變換正負號。Reverses the sign of each component of the quaternion.

public:
 static System::Numerics::Quaternion operator -(System::Numerics::Quaternion value);
public static System.Numerics.Quaternion operator - (System.Numerics.Quaternion value);
static member ( ~- ) : System.Numerics.Quaternion -> System.Numerics.Quaternion
Public Shared Operator - (value As Quaternion) As Quaternion

參數

value
Quaternion Quaternion Quaternion Quaternion

要變換正負號的四元數。The quaternion to negate.

傳回

已變換正負號的四元數。The negated quaternion.

備註

@No__t-0 方法會定義 @no__t 1 物件之一元負運算子的運算。The UnaryNegation method defines the operation of the unary negation operator for Quaternion objects.

適用於