Vector3.Transform(Vector3[],Matrix) Method (Microsoft.DirectX)
Transforms a 3-D vector or an array of 3-D vectors by a given matrix.
Definition
Visual Basic Public Shared Function Transform( _
ByVal vector() As Vector3, _
ByVal sourceMatrix As Matrix _
) As Vector4()C# public static Vector4[] Transform(
Vector3[] vector,
Matrix sourceMatrix
);C++ public:
static array<Vector4>^ Transform(
array<Vector3>^ vector,
Matrix sourceMatrix
);JScript public static function Transform(
vector : Vector3[],
sourceMatrix : Matrix
) : Vector4[];
Parameters
vector Microsoft.DirectX.Vector3[]
Array of source Vector3 structures.sourceMatrix Microsoft.DirectX.Matrix
Source Matrix structure.
Return Value
Microsoft.DirectX.Vector4[]
Array of Vector4 structures that are the result of the method.
Remarks
This method transforms an array of vectors passed into vector by the matrix sourceMatrix.
See Also