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.

Namespace:  Microsoft.WindowsMobile.DirectX
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'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 

Parameters

Return Value

Type: Microsoft.WindowsMobile.DirectX.Vector3
A Vector3 structure that contains the results of this method.

Remarks

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

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Vector3 Structure

Vector3 Members

TransformNormal Overload

Microsoft.WindowsMobile.DirectX Namespace