Vector4.Transform Method (Vector2, Quaternion)
Transforms a Vector2 by a specified Quaternion into a Vector4.
Syntax
'Declaration
Public Shared Function Transform ( _
value As Vector2, _
rotation As Quaternion _
) As Vector4
public static Vector4 Transform (
Vector2 value,
Quaternion rotation
)
public:
static Vector4 Transform(
Vector2 value,
Quaternion rotation
)
Parameters
- value
Type: Vector2
The Vector2 to transform. - rotation
Type: Quaternion
The Quaternion rotation to apply.
Return Value
Type: Vector4
Returns the Vector4 resulting from the transformation.
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