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)
public static void Transform ( ref Vector3 value, ref Quaternion rotation, out Vector3 result )
Parameters
- value
- Type: Vector3
The Vector3 to rotate. - rotation
- Type: Quaternion
The Quaternion rotation to apply. - result
- Type: Vector3
[OutAttribute] An existing Vector3 filled in with the results of the rotation.