Vector4.Add Method

Language:

Adds two 4-D vectors.

Definition

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

Parameters

left Microsoft.DirectX.Vector4
Source Vector4.
right Microsoft.DirectX.Vector4
Source Vector4.

Return Value

Microsoft.DirectX.Vector4
Sum of the two Vector4 structures.


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