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