Vector3.TransformNormal Method (Vector3, Matrix)

Transforms a 3D vector normal by a matrix.

Syntax

'Declaration
Public Shared Function TransformNormal ( _
         normal As Vector3, _
         matrix As Matrix _
) As Vector3 
public static Vector3 TransformNormal (
         Vector3 normal,
         Matrix matrix
)
public:
static Vector3 TransformNormal(
         Vector3 normal,
         Matrix matrix
)

Parameters

  • normal
    Type: Vector3
    The source vector.
  • matrix
    Type: Matrix
    The transformation matrix.

Return Value

Type: Vector3
The transformed vector normal.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone