Vector2.Transform Method |
Language: |
Transforms a 2-D vector or an array of 2-D vectors by a given matrix.
Visual Basic Public Shared Function Transform( _
ByVal vector() As Vector2, _
ByVal sourceMatrix As Matrix _
) As Vector4()C# public static Vector4[] Transform(
Vector2[] vector,
Matrix sourceMatrix
);C++ public:
static array<Vector4>^ Transform(
array<Vector2>^ vector,
Matrix sourceMatrix
);JScript public static function Transform(
vector : Vector2[],
sourceMatrix : Matrix
) : Vector4[];
vector Microsoft.DirectX.Vector2[]
Array of source Vector2 structures.sourceMatrix Microsoft.DirectX.Matrix
Source Matrix structure.
Microsoft.DirectX.Vector4[]
Array of Vector4 structures that are the result of the method.
This method transforms an array of vectors passed into vector by the matrix sourceMatrix.
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