Microsoft DirectX 9.0 SDK Update (October 2004)

Vector2.TransformNormal Method

Language:

Note: This documentation is preliminary and is subject to change.

Transforms the 2-D vector normal by a given matrix.

Definition

Visual Basic .NET Public Shared Function TransformNormal( _
    ByVal vector() As Vector2, _
    ByVal sourceMatrix As Matrix _
) As Vector2()
C# public static Vector2[] TransformNormal(
    Vector2[] vector,
    Matrix sourceMatrix
);
Managed C++ public: static Vector2 TransformNormal(
    Vector2 vector __gc[],
    Matrix sourceMatrix
) __gc[];
JScript .NET public static function TransformNormal(
    vector : Vector2[],
    sourceMatrix : Matrix
) : Vector2[];

Parameters

vector Microsoft.DirectX.Vector2[]. Array of source Vector2 structures.
sourceMatrix Microsoft.DirectX.Matrix. Source Matrix structure.

Return Value

Microsoft.DirectX.Vector2[]. Array of Vector2 structures that contain the results of this method.

Remarks

This method transforms the vector normal (x, y, 0, 0) of the source vector, or the array of vector structures, by the sourceMatrix matrix.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center