Vector4.Transform Method (Vector2, Quaternion)
Transforms a Vector2 by a specified Quaternion into a Vector4.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static Vector4 Transform (
Vector2 value,
Quaternion rotation
)
Parameters
- value
The Vector2 to transform. - rotation
The Quaternion rotation to apply.
Return Value
Returns 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