Bewerken

Share via


Vector2.Negate(Vector2) Method

Definition

Negates a specified vector.

public:
 static System::Numerics::Vector2 Negate(System::Numerics::Vector2 value);
public static System.Numerics.Vector2 Negate (System.Numerics.Vector2 value);
static member Negate : System.Numerics.Vector2 -> System.Numerics.Vector2
Public Shared Function Negate (value As Vector2) As Vector2

Parameters

value
Vector2

The vector to negate.

Returns

The negated vector.

Applies to