Vector3.Transform Method (Vector3, Quaternion, Vector3)
Transforms a Vector3 by a specified Quaternion rotation.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void Transform (
ref Vector3 value,
ref Quaternion rotation,
out Vector3 result
)
Parameters
- value
The Vector3 to rotate. - rotation
The Quaternion rotation to apply. - result
[OutAttribute] An existing Vector3 filled in with the results of the rotation.
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista