Vector4.Transform Method

Language:

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

Definition

Visual Basic Public Shared Function Transform( _
    ByVal source As Vector4, _
    ByVal sourceMatrix As Matrix _
) As Vector4
C# public static Vector4 Transform(
    Vector4 source,
    Matrix sourceMatrix
);
C++ public:
static Vector4 Transform(
    Vector4 source,
    Matrix sourceMatrix
);
JScript public static function Transform(
    source : Vector4,
    sourceMatrix : Matrix
) : Vector4;

Parameters

source Microsoft.DirectX.Vector4
Source Vector4 structure.
sourceMatrix Microsoft.DirectX.Matrix
Source Matrix structure.

Return Value

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


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