![]() |
![]() |
![]() |
Vector3.Transform Method |
Language: |
Transforms a 3-D vector or an array of 3-D vectors by a given matrix.
Visual Basic .NET Public Shared Function Transform( _
ByVal vector() As Vector3, _
ByVal sourceMatrix As Matrix _
) As Vector4()C# public static Vector4[] Transform(
Vector3[] vector,
Matrix sourceMatrix
);Managed C++ public: static Vector4 Transform(
Vector3 vector __gc[],
Matrix sourceMatrix
) __gc[];JScript .NET public static function Transform(
vector : Vector3[],
sourceMatrix : Matrix
) : Vector4[];
vector Microsoft.DirectX.Vector3[]. Array of source Vector3 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center