Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
Source vector.

Return Value

Vector pointing in the opposite direction.

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

Community Additions

ADD
Show:
© 2015 Microsoft