Vector2d.UnaryNegation Operator

Computes the negation of a vector into a new vector.
public static Vector2d operator -( 
   Vector2d v 
)

Parameters

v
Vector2d

The vector to negate.

Return Value

Vector2d

The negated version of the vector given as a new vector.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition