Quaternion::UnaryNegation Operator

Reverses the sign of each component of the quaternion.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Quaternion operator -(
	Quaternion value
)

Parameters

value
Type: System.Numerics::Quaternion

The quaternion to negate.

Return Value

Type: System.Numerics::Quaternion
The negated quaternion.

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

Show: