Vector4.Transform Method (Vector2, Matrix, Vector4)
Transforms a Vector2 by the given Matrix.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void Transform (
ref Vector2 position,
ref Matrix matrix,
out Vector4 result
)
Parameters
- position
The source Vector2. - matrix
The transformation Matrix. - result
[OutAttribute] The Vector4 resulting from the transformation.
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista