Vector4.Negate Method (Vector4, Vector4)
Returns a vector pointing in the opposite direction.
Syntax
'Declaration
Public Shared Sub Negate ( _
ref value As Vector4, _
out result As Vector4 _
)
public static void Negate (
ref Vector4 value,
out Vector4 result
)
public:
static void Negate(
ref Vector4 value,
out Vector4 result
)
Parameters
- value
Type: Vector4
Source vector. - result
Type: Vector4
[OutAttribute] Vector pointing in the opposite direction.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone