Vector2.Transform Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Transforms one or more Vector2 instances by a Matrix or Quaternion.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Transform(Vector2, Matrix) Transforms the vector (x, y, 0, 1) by the specified matrix.
Public methodStatic member Transform(Vector2, Quaternion) Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
Public methodStatic member Transform(Vector2%, Matrix%, Vector2%) Transforms a Vector2 by the given Matrix.
Public methodStatic member Transform(Vector2%, Quaternion%, Vector2%) Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
Public methodStatic member Transform(array<Vector2[], Matrix%, array<Vector2[]) Transforms an array of Vector2 instances by a specified Matrix.
Public methodStatic member Transform(array<Vector2[], Quaternion%, array<Vector2[]) Transforms an array of Vector2 instances by a specified Quaternion.
Public methodStatic member Transform(array<Vector2[], Int32, Matrix%, array<Vector2[], Int32, Int32) Transforms a specified range in an array of Vector2 instances by a specified Matrix and places the results in a specified range in a destination array.
Public methodStatic member Transform(array<Vector2[], Int32, Quaternion%, array<Vector2[], Int32, Int32) Transforms a specified range in an array of Vector2 instances by a specified Quaternion and places the results in a specified range in a destination array.

Top