Vector4.Transform Method (Vector3, Quaternion)
Transforms a Vector3 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 (
Vector3 value,
Quaternion rotation
)
Parameters
- value
The Vector3 to transform. - rotation
The Quaternion rotation to apply.
Return Value
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