Vector3.Transform Method (Microsoft.Xna.Framework)

Apply transformation on 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 3.8.0.819)
  • C#
  • VB
  • F#
public static void Transform(
	Vector3[] sourceArray, 
	int sourceIndex, 
	Quaternion rotation, 
	Vector3[] destinationArray, 
	int destinationIndex, 
	int length
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

sourceArray
Type: Microsoft.Xna.Framework.Vector3[]
Source array.
sourceIndex
Type: System.Int32
The starting index of transformation in the source array.
rotation
Type: Microsoft.Xna.Framework.Quaternion
The Quaternion which contains rotation transformation.
destinationArray
Type: Microsoft.Xna.Framework.Vector3[]
Destination array.
destinationIndex
Type: System.Int32
The starting index in the destination array, where the first Vector3 should be written.
length
Type: System.Int32
The number of vectors to be transformed.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web