Sdílet prostřednictvím


Vector4.Transform Method (Vector4[], Int32, Quaternion, Vector4 , Int32, Int32)

Transforms a specified range in an array of Vector4s by a specified Quaternion 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 Quaternion rotation,
         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.
  • rotation
    The Quaternion rotation 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