Vector4.Subtract Method

Language:

Subtracts two 4-D vectors.

Definition

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

Parameters

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

Return Value

Microsoft.DirectX.Vector4
A Vector4 structure that is the result of the operation.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center