Sdílet prostřednictvím


Vector2.Transform Method (Vector2, Quaternion, Vector2)

Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.

Syntax

'Declaration
Public Shared Sub Transform ( _
         ref value As Vector2, _
         ref rotation As Quaternion, _
         out result As Vector2 _
)
public static void Transform (
         ref Vector2 value,
         ref Quaternion rotation,
         out Vector2 result
)
public:
static void Transform(
         ref Vector2 value,
         ref Quaternion rotation,
         out Vector2 result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone