Share via


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

Transforms an array of Vector2s by a specified Matrix.

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

Syntax

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

Parameters

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

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista