Vector3.Transform Method (Vector3, Quaternion)
Transforms a Vector3 by a specified Quaternion rotation.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static Vector3 Transform (
Vector3 value,
Quaternion rotation
)
Parameters
- value
The Vector3 to rotate. - rotation
The Quaternion rotation to apply.
Return Value
Returns a new Vector3 that results from the rotation.
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista