-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3.Transform
public Vector3 Transform(Vector3 position, Matrix matrix)Transforms a 3D vector by the given matrix.
public Vector3D Transform(Vector3 position, MatrixD matrix)Transforms a 3D vector by the given matrix.
public Vector3 Transform(Vector3 position, ref Matrix matrix)public void Transform(ref Vector3 position, ref Matrix matrix, ref Vector3 result)Transforms a Vector3 by the given Matrix.
public void Transform(ref Vector3 position, ref MatrixI matrix, ref Vector3 result)public Vector3 Transform(Vector3 value, Quaternion rotation)Transforms a Vector3 by a specified Quaternion rotation.
public void Transform(ref Vector3 value, ref Quaternion rotation, ref Vector3 result)Transforms a Vector3 by a specified Quaternion rotation.
public 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.
public 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.
public 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.
public 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.
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!