-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3.Transform
← Index ← Namespace Index ← Vector3
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.
- Vector3[] sourceArray
- Quaternion rotation
- Vector3[] destinationArray
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.
- Vector3[] sourceArray
- int sourceIndex
- Quaternion rotation
- Vector3[] destinationArray
- int destinationIndex
- int length
public static Vector3 Transform(Vector3 position, Matrix matrix)
Transforms a 3D vector by the given matrix.
public static Vector3D Transform(Vector3 position, MatrixD matrix)
Transforms a 3D vector by the given matrix.
public static Vector3 Transform(Vector3 position, ref Matrix matrix)
public static void Transform(ref Vector3 position, ref Matrix matrix, out Vector3 result)
Transforms a Vector3 by the given Matrix.
public static void Transform(ref Vector3 position, ref MatrixI matrix, out Vector3 result)
public static Vector3 Transform(Vector3 value, Quaternion rotation)
Transforms a Vector3 by a specified Quaternion rotation.
- Vector3 value
- Quaternion rotation
public static void Transform(ref Vector3 value, ref Quaternion rotation, out Vector3 result)
Transforms a Vector3 by a specified Quaternion rotation.
- Vector3 value
- Quaternion rotation
- Vector3 result
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.
- Vector3[] sourceArray
- Matrix matrix
- Vector3[] destinationArray
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.
- Vector3[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector3[] destinationArray
- int destinationIndex
- int length
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!