Vector3.Negate Method (Vector3)
Returns a vector pointing in the opposite direction.
Syntax
'Declaration
Public Shared Function Negate ( _
value As Vector3 _
) As Vector3
public static Vector3 Negate (
Vector3 value
)
public:
static Vector3 Negate(
Vector3 value
)
Parameters
- value
Type: Vector3
Source vector.
Return Value
Type: Vector3
Vector pointing in the opposite direction.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone