Export (0) Print
Expand All

Vector2.op_UnaryNegation Method

Returns a vector pointing in the opposite direction.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static Vector2 op_UnaryNegation (
         Vector2 value
)

Parameters

value
Type: Vector2
Source vector.

Return Value

Vector pointing in the opposite direction.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft