Export (0) Print
Expand All

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.Math (in Microsoft.Xna.Framework.Math.dll)

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

Parameters

sourceArray
Type: Microsoft.Xna.Framework.Vector2[]
The array of vector normals 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 vector normals are written.

ExceptionCondition
ArgumentException

destinationArray is too small to contain the result.

ArgumentNullException

sourceArray or destinationArray is null.

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