Share via


Vector2.TransformCoordinate Method ()

Transforms a 2-D vector or an array of 2-D vectors by a given matrix, projecting the result back into w = 1.

Overload List

public void TransformCoordinate(Matrix);
public static Vector2 TransformCoordinate(Vector2, Matrix);
public static Vector2[] TransformCoordinate(Vector2[], Matrix);

Remarks

This method transforms the source vector, source (x, y, 0, 1), or all vectors in the vector parameter, by the matrix sourceMatrix, projecting the result back into w = 1.