Vector4.Transform Method (Vector2, Matrix)
Transforms a Vector2 by the given Matrix.
Syntax
'Declaration
Public Shared Function Transform ( _
position As Vector2, _
matrix As Matrix _
) As Vector4
public static Vector4 Transform (
Vector2 position,
Matrix matrix
)
public:
static Vector4 Transform(
Vector2 position,
Matrix matrix
)
Parameters
Return Value
Type: Vector4
The transformed Vector4.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone