Vector3.TransformNormal Method (Vector3, Matrix)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Transforms the specified 3-D vector normal by using the specified matrix.
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
'Declaration Public Shared Function TransformNormal ( _ source As Vector3, _ sourceMatrix As Matrix _ ) As Vector3 'Usage Dim source As Vector3 Dim sourceMatrix As Matrix Dim returnValue As Vector3 returnValue = Vector3.TransformNormal(source, _ sourceMatrix)
public static Vector3 TransformNormal( Vector3 source, Matrix sourceMatrix )
public: static Vector3 TransformNormal( Vector3 source, Matrix sourceMatrix )
static member TransformNormal : source:Vector3 * sourceMatrix:Matrix -> Vector3
If you transform a normal vector by using a non-affine matrix, the matrix you pass to this method should be the transpose of the inverse of the matrix you would use to transform a coordinate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Compact Framework
Supported in: 3.5, 2.0