Share via


Vector3.op_UnaryNegation Method

Returns a vector pointing in the opposite direction.

Syntax

'Declaration
Public Shared Function op_UnaryNegation ( _
         value As Vector3 _
) As Vector3 
public static Vector3 op_UnaryNegation (
         Vector3 value
)
public:
static Vector3 op_UnaryNegation(
         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