次の方法で共有


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

Transforms an array of Vector2s by a specified Quaternion.

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

Syntax

public static void Transform (
         Vector2[] sourceArray,
         ref Quaternion rotation,
         Vector2[] destinationArray
)

Parameters

  • sourceArray
    The array of Vector2s to transform.
  • rotation
    The transform Matrix to use.
  • destinationArray
    An existing array into which the transformed Vector2s are written.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista