Transform
Summary
public static void Transform(Vector3[] sourceArray, ref Quaternion rotation, Vector3[] destinationArray)
Transforms a source array of Vector3s by a specified Quaternion rotation and writes the results to an existing destination array.
Parameters
- Vector3[] sourceArray
- Quaternion rotation
- Vector3[] destinationArray
Summary
public static void Transform(Vector3[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector3[] destinationArray, int destinationIndex, int length)
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.
Parameters
- Vector3[] sourceArray
- int sourceIndex
- Quaternion rotation
- Vector3[] destinationArray
- int destinationIndex
- int length
Summary
public static Vector3 Transform(Vector3 position, Matrix matrix)
Transforms a 3D vector by the given matrix.
Returns
Parameters
Summary
public static Vector3D Transform(Vector3 position, MatrixD matrix)
Transforms a 3D vector by the given matrix.
Returns
Parameters
Summary
public static Vector3 Transform(Vector3 position, ref Matrix matrix)
Returns
Parameters
Summary
public static void Transform(ref Vector3 position, ref Matrix matrix, out Vector3 result)
Transforms a Vector3 by the given Matrix.
Parameters
Summary
public static void Transform(ref Vector3 position, ref MatrixI matrix, out Vector3 result)
Parameters
Summary
public static Vector3 Transform(Vector3 value, Quaternion rotation)
Transforms a Vector3 by a specified Quaternion rotation.
Returns
Parameters
- Vector3 value
- Quaternion rotation
Summary
public static void Transform(ref Vector3 value, ref Quaternion rotation, out Vector3 result)
Transforms a Vector3 by a specified Quaternion rotation.
Parameters
- Vector3 value
- Quaternion rotation
- Vector3 result
Summary
public static void Transform(Vector3[] sourceArray, ref Matrix matrix, Vector3[] destinationArray)
Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.
Parameters
Summary
public static void Transform(Vector3[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length)
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.