Vector4.Transform Method (Vector4[], Int32, Matrix, Vector4 , Int32, Int32)
Transforms a specified range in an array of Vector4s by a specified Matrix into a specified range in a destination array.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void Transform (
Vector4[] sourceArray,
int sourceIndex,
ref Matrix matrix,
Vector4[] destinationArray,
int destinationIndex,
int length
)
Parameters
- sourceArray
The array of Vector4s containing the range to transform. - sourceIndex
The index in the source array of the first Vector4 to transform. - matrix
The transform Matrix to apply. - destinationArray
The existing destination array of Vector4s into which to write the results. - destinationIndex
The index in the destination array of the first result Vector4 to write. - length
The number of Vector4s to transform.
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista