This topic has not yet been rated - Rate this topic

# Vector2.Transform Method

Transforms one or more Vector2s by a Matrix or Quaternion.
NameDescription
Vector2.Transform (Vector2, Matrix)Transforms the vector (x, y, 0, 1) by the specified matrix.
Vector2.Transform (Vector2, Matrix, Vector2) Transforms a Vector2 by the given Matrix.
Vector2.Transform (Vector2, Quaternion)Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
Vector2.Transform (Vector2, Quaternion, Vector2) Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
Vector2.Transform (Vector2[], Int32, Matrix, Vector2[], Int32, Int32) Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.
Vector2.Transform (Vector2[], Int32, Quaternion, Vector2[], Int32, Int32) Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.
Vector2.Transform (Vector2[], Matrix, Vector2[])Transforms an array of Vector2s by a specified Matrix.
Vector2.Transform (Vector2[], Quaternion, Vector2[]) Transforms an array of Vector2s by a specified Quaternion.