Partilhar via


Vector4.Transform Method (Vector4[], Quaternion, Vector4 )

Transforms an array of Vector4s by a specified Quaternion.

Syntax

'Declaration
Public Shared Sub Transform ( _
         sourceArray As Vector4(), _
         ref rotation As Quaternion, _
         destinationArray As Vector4() _
)
public static void Transform (
         Vector4[] sourceArray,
         ref Quaternion rotation,
         Vector4[] destinationArray
)
public:
static void Transform(
         Vector4 sourceArray[],
         ref Quaternion rotation,
         Vector4 destinationArray[]
)

Parameters

Exceptions

Exception type Condition
ArgumentException destinationArray is too small to contain the result or.
ArgumentNullException sourceArray or destinationArray is null.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone