Vector3Transform Method (Vector3, Int32, Quaternion, Vector3, Int32, Int32) |
[This is preliminary documentation and is subject to change.]
Applies a specified Quaternion rotation to a specified range of an array of Vector3s and writes the results into a specified range of a destination array.
Namespace: VRageMathAssembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax public static void Transform(
Vector3[] sourceArray,
int sourceIndex,
ref Quaternion rotation,
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. - rotation
- Type: Quaternion
The Quaternion rotation 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