Sdílet prostřednictvím


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

Transforms an array of Vector4s by a specified Quaternion.

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

Syntax

public static void Transform (
         Vector4[] sourceArray,
         ref Quaternion rotation,
         Vector4[] targetArray
)

Parameters

  • sourceArray
    The array of Vector4s to transform.
  • rotation
    The Quaternion rotation to apply.
  • targetArray
    The existing destination array into which the transformed Vector4s are written.

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista