Microsoft DirectX 9.0 SDK Update (October 2004)

Vector4.Add Method

Language:

Note: This documentation is preliminary and is subject to change.

Adds two 4-D vectors.

Definition

Visual Basic .NET Public Shared Function Add( _
    ByVal left As Vector4, _
    ByVal right As Vector4 _
) As Vector4
C# public static Vector4 Add(
    Vector4 left,
    Vector4 right
);
Managed C++ public: static Vector4 Add(
    Vector4 left,
    Vector4 right
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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