Vector3.Transform Method (Vector3, Quaternion, Vector3)
Transforms a Vector3 by a specified Quaternion rotation.
Syntax
'Declaration
Public Shared Sub Transform ( _
ref value As Vector3, _
ref rotation As Quaternion, _
out result As Vector3 _
)
public static void Transform (
ref Vector3 value,
ref Quaternion rotation,
out Vector3 result
)
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.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone