Vector2d.UnaryNegation Operator

Computes the negation of a vector into a new vector.
Public Shared Operator -( _ 
ByVal v As Vector2d
) As Vector2d
This language is not supported or no code example is available.
public static Vector2d operator -( 
Vector2d v 
)
This language is not supported or no code example is available.
public:  
static Vector2d^ operator -( 
Vector2d^ v 
)
This language is not supported or no code example is available.
JScript supports the use of overloaded operators, but not the declaration of new ones.
This language is not supported or no code example is available.

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