Vector3.TransformNormal Method (Vector3, Matrix, Vector3)

Transforms a vector normal by a matrix.

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

Syntax

public static void TransformNormal (
         ref Vector3 normal,
         ref Matrix matrix,
         out Vector3 result
)

Parameters

  • normal
    The source vector.
  • matrix
    The transformation Matrix.
  • result
    [OutAttribute] The Vector3 resulting from the transformation.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista