Vector2.Negate(Vector2) 方法

定义

对指定向量求反。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

参数

value
Vector2

要求反的向量。The vector to negate.

返回

Vector2

求反后的向量。The negated vector.

适用于