Click or drag to resize
Vector3Transform Method (Vector3, Int32, Matrix, Vector3, Int32, Int32)

[This is preliminary documentation and is subject to change.]

Applies a specified transform Matrix to a specified range of an array of Vector3s and writes the results into a specified range of a destination array.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static void Transform(
	Vector3[] sourceArray,
	int sourceIndex,
	ref Matrix matrix,
	Vector3[] destinationArray,
	int destinationIndex,
	int length
)

Parameters

sourceArray
Type: VRageMathVector3
The source array.
sourceIndex
Type: SystemInt32
The index in the source array at which to start.
matrix
Type: Matrix
The transform Matrix to apply.
destinationArray
Type: VRageMathVector3
The existing destination array.
destinationIndex
Type: SystemInt32
The index in the destination array at which to start.
length
Type: SystemInt32
The number of Vector3s to transform.
See Also