Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX SDK
Namespaces
Microsoft.DirectX
Structures
Vector3
Methods
 Vector3.TransformNormal Method

  Switch on low bandwidth view
Language: Visual BasicC#C++JScript(Show All)
Vector3.TransformNormal Method ()

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

Overload List

public void TransformNormal(Matrix);
public static Vector3 TransformNormal(Vector3, Matrix);
public static Vector3[] TransformNormal(Vector3[], Matrix);

Remarks

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

If you transform a normal by a non-affine matrix, the matrix you pass to this function should be the transpose of the inverse of the matrix you would use to transform a coordinate.

See Also

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker