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

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

Transforms a specified range in an array of 3D vector normals by a specified Matrix and writes the results to a specified range in a destination array.

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

Parameters

sourceArray
Type: VRageMathVector3
The source array of Vector3 normals.
sourceIndex
Type: SystemInt32
The starting index in the source array.
matrix
Type: Matrix
The transform Matrix to apply.
destinationArray
Type: VRageMathVector3
The destination Vector3 array.
destinationIndex
Type: SystemInt32
The starting index in the destination array.
length
Type: SystemInt32
The number of vectors to transform.
See Also