Vector3.Negate Method (Vector3, Vector3)
Returns a vector pointing in the opposite direction.
Syntax
'Declaration
Public Shared Sub Negate ( _
ref value As Vector3, _
out result As Vector3 _
)
public static void Negate (
ref Vector3 value,
out Vector3 result
)
public:
static void Negate(
ref Vector3 value,
out Vector3 result
)
Parameters
- value
Type: Vector3
Source vector. - result
Type: Vector3
[OutAttribute] 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