Vector4Transform(Vector4, Int32, Quaternion, Vector4, Int32, Int32) Method |
Apply transformation on vectors within array of
Vector4 by the specified
Quaternion and places the results in an another array.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static void Transform(
Vector4[] sourceArray,
int sourceIndex,
ref Quaternion rotation,
Vector4[] destinationArray,
int destinationIndex,
int length
)
Public Shared Sub Transform (
sourceArray As Vector4(),
sourceIndex As Integer,
ByRef rotation As Quaternion,
destinationArray As Vector4(),
destinationIndex As Integer,
length As Integer
)
Parameters
- sourceArray Vector4
- Source array.
- sourceIndex Int32
- The starting index of transformation in the source array.
- rotation Quaternion
- The Quaternion which contains rotation transformation.
- destinationArray Vector4
- Destination array.
- destinationIndex Int32
- The starting index in the destination array, where the first Vector4 should be written.
- length Int32
- The number of vectors to be transformed.
See Also