Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Transforms a specified range in an array of Vector2 vector normals by a specified Matrix and places the results in a specified range in a destination array.

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

public static void TransformNormal (
         Vector2[] sourceArray,
         int sourceIndex,
         ref Matrix matrix,
         Vector2[] destinationArray,
         int destinationIndex,
         int length


The source array.
The index of the first Vector2 to transform in the source array.
The Matrix to apply.
The destination array into which the resulting Vector2s are written.
The index of the position in the destination array where the first result Vector2 should be written.
The number of vector normals to be transformed.
Exception typeCondition
ArgumentException destinationArray is too small to contain the result or the combination of sourceIndex and length was greater than sourceArray.Length.
ArgumentNullException sourceArray or destinationArray is null.
Xbox 360, Windows XP SP2, Windows Vista, Zune
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.