Microsoft DirectX 9.0 SDK Update (October 2004)

Vector4.Transform Method

Language:

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

Transforms a 4-D vector or an array of 4-D vectors by a given matrix.

Definition

Visual Basic .NET Public Shared Function Transform( _
    ByVal vector() As Vector4, _
    ByVal sourceMatrix As Matrix _
) As Vector4()
C# public static Vector4[] Transform(
    Vector4[] vector,
    Matrix sourceMatrix
);
Managed C++ public: static Vector4 Transform(
    Vector4 vector __gc[],
    Matrix sourceMatrix
) __gc[];
JScript .NET public static function Transform(
    vector : Vector4[],
    sourceMatrix : Matrix
) : Vector4[];

Parameters

vector Microsoft.DirectX.Vector4[]. Array of source Vector4 structures.
sourceMatrix Microsoft.DirectX.Matrix. Source Matrix structure.

Return Value

Microsoft.DirectX.Vector4[]. Array of Vector4 structures that are the result of the method.


© 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