Dela via


Vector4.op_UnaryNegation Method

Returns a vector pointing in the opposite direction.

Syntax

'Declaration
Public Shared Function op_UnaryNegation ( _
         value As Vector4 _
) As Vector4 
public static Vector4 op_UnaryNegation (
         Vector4 value
)
public:
static Vector4 op_UnaryNegation(
         Vector4 value
)

Parameters

  • value
    Type: Vector4
    Source vector.

Return Value

Type: Vector4
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