Share via


Vector4.op_Subtraction(Vector4,Vector4) Method (Microsoft.DirectX)

Subtracts two 4-D vectors.

Definition

Visual Basic Public Shared Function op_Subtraction( _
    ByVal left As Vector4, _
    ByVal right As Vector4 _
) As Vector4
C# public static Vector4 op_Subtraction(
    Vector4 left,
    Vector4 right
);
C++ public:
static Vector4 operator-(
    Vector4 left,
    Vector4 right
);
JScript public static function op_Subtraction(
    left : Vector4,
    right : Vector4
) : Vector4;

Parameters

left Microsoft.DirectX.Vector4
The Vector4 structure to the left of the subtraction operator.
right Microsoft.DirectX.Vector4
The Vector4 structure to the right of the subtraction operator.

Return Value

Microsoft.DirectX.Vector4
Resulting Vector4 structure.