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

Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.

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

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

Parameters

sourceArray
The source array.
matrix
The transform Matrix to apply.
destinationArray
An existing destination array into which the transformed Vector3s are written.

Exception typeCondition
ArgumentException destinationArray is too small to contain the result.
ArgumentNullException sourceArray or destinationArray is null.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show: