Vector2::UnaryNegation Operator

Negates the specified vector.

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

public:
static Vector2 operator -(
	Vector2 value
)

Parameters

value
Type: System.Numerics::Vector2

The vector to negate.

Return Value

Type: System.Numerics::Vector2
The negated vector.

The UnaryNegation method defines the unary negation operation for Vector2 objects.

Show: