Vector3.Transform Method (Microsoft.Xna.Framework)

Apply transformation on all vectors within array of Vector3 by the specified Quaternion and places the results in an another array.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public static void Transform(
	Vector3[] sourceArray, 
	Quaternion rotation, 
	Vector3[] destinationArray

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Vector3[]
Source array.
Type: Microsoft.Xna.Framework.Quaternion
The Quaternion which contains rotation transformation.
Type: Microsoft.Xna.Framework.Vector3[]
Destination array.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop