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
- sourceArray
Type: Vector4
The array of Vector4s to transform. - rotation
Type: Quaternion
The Quaternion rotation to apply. - destinationArray
Type: Vector4
The existing destination array into which the transformed Vector4s are written.
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