Sdílet prostřednictvím


Vector2.TransformNormal Method (Vector2[], Matrix, Vector2 )

Transforms an array of Vector2 vector normals by a specified Matrix.

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

Syntax

public static void TransformNormal (
         Vector2[] sourceArray,
         ref Matrix matrix,
         Vector2[] destinationArray
)

Parameters

  • sourceArray
    The array of vector normals to transform.
  • matrix
    The transform Matrix to apply.
  • destinationArray
    An existing array into which the transformed vector normals are written.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista