![]() |
![]() |
![]() |
Vector2.TransformNormal Method |
Language: |
Transforms the 2-D vector normal by a given matrix.
Visual Basic .NET Public Shared Function TransformNormal( _
ByVal source As Vector2, _
ByVal sourceMatrix As Matrix _
) As Vector2C# public static Vector2 TransformNormal(
Vector2 source,
Matrix sourceMatrix
);Managed C++ public: static Vector2 TransformNormal(
Vector2 source,
Matrix sourceMatrix
);JScript .NET public static function TransformNormal(
source : Vector2,
sourceMatrix : Matrix
) : Vector2;
source Microsoft.DirectX.Vector2. Source Vector2 structure. sourceMatrix Microsoft.DirectX.Matrix. Source Matrix structure.
Microsoft.DirectX.Vector2 . A Vector2 structure that contains the results of this method.
This method transforms the vector normal (x, y, 0, 0) of the source vector, or the array of vector structures, by the sourceMatrix matrix.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center