Vector3.Negate Method (Vector3)

Returns a vector pointing in the opposite direction.

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

Syntax

public static Vector3 Negate (
         Vector3 value
)

Parameters

  • value
    Source vector.

Return Value

Vector pointing in the opposite direction.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista