Vector3.TransformNormal Method (Vector3[], Int32, Matrix, Vector3 , Int32, Int32)

Transforms a specified range in an array of 3D vector normals by a specified Matrix and writes the results to a specified range in a destination array.

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

Syntax

public static void TransformNormal (
         Vector3[] sourceArray,
         int sourceIndex,
         ref Matrix matrix,
         Vector3[] destinationArray,
         int destinationIndex,
         int length
)

Parameters

  • sourceArray
    The source array of Vector3 normals.
  • sourceIndex
    The starting index in the source array.
  • matrix
    The transform Matrix to apply.
  • destinationArray
    The destination Vector3 array.
  • destinationIndex
    The starting index in the destination array.
  • length
    The number of vectors to transform.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista