Vector3.Transform Method (Vector3, Quaternion)

Transforms a Vector3 by a specified Quaternion rotation.

Syntax

'Declaration
Public Shared Function Transform ( _
         value As Vector3, _
         rotation As Quaternion _
) As Vector3 
public static Vector3 Transform (
         Vector3 value,
         Quaternion rotation
)
public:
static Vector3 Transform(
         Vector3 value,
         Quaternion rotation
)

Parameters

Return Value

Type: Vector3
Returns a new Vector3 that results from 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