Vector4.Transform Method (Microsoft.Xna.Framework)

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

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web