次の方法で共有


Vector4.Negate Method (Vector4)

Returns a vector pointing in the opposite direction.

Syntax

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