Редагувати

Поділитися через


Quaternion.UnaryNegation(Quaternion) Operator

Definition

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

Parameters

value
Quaternion

The quaternion to negate.

Returns

The negated quaternion.

Remarks

The UnaryNegation method defines the operation of the unary negation operator for Quaternion objects.

Applies to