Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

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.

Exception typeCondition
ArgumentException destinationArray is too small to contain the result.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2015 Microsoft