Export (0) Print
Expand All

Vector2.Transform Method (Vector2(), Matrix%, Vector2())

Transforms an array of Vector2 instances by a specified Matrix.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

'Declaration
Public Shared Sub Transform ( _
	sourceArray As Vector2(), _
	ByRef matrix As Matrix, _
	destinationArray As Vector2() _
)

Parameters

sourceArray
Type: Microsoft.Xna.Framework.Vector2()
The array of Vector2 instances to transform.
matrix
Type: Microsoft.Xna.Framework.Matrix%
The transformation matrix to apply.
destinationArray
Type: Microsoft.Xna.Framework.Vector2()
An existing array into which the transformed Vector2 instances are written.

ExceptionCondition
ArgumentException

destinationArray is too small to contain the result.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft