Vector2.Transform Method (Vector2, Matrix)
Transforms the vector (x, y, 0, 1) by the specified matrix.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static Vector2 Transform (
Vector2 position,
Matrix matrix
)
Parameters
- position
The source vector. - matrix
The transformation matrix.
Return Value
The transformed vector.
See Also
Reference
Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista