-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.Vector3D.Transform
public Vector3D Transform(Vector3D value, Quaternion rotation)
Transforms a Vector3 by a specified Quaternion rotation.
- Vector3D value
- Quaternion rotation
public void Transform(ref Vector3D value, ref Quaternion rotation, ref Vector3D result)
Transforms a Vector3 by a specified Quaternion rotation.
- Vector3D value
- Quaternion rotation
- Vector3D result
public void Transform(Vector3D[] sourceArray, ref MatrixD matrix, Vector3D[] destinationArray)
Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.
- Vector3D[] sourceArray
- MatrixD matrix
- Vector3D[] destinationArray
public void Transform(Vector3D[] sourceArray, ref MatrixD matrix, *Vector3D destinationArray)
- Vector3D[] sourceArray
- MatrixD matrix
- Vector3D destinationArray
public void Transform(Vector3D[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3D[] 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.
- Vector3D[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector3D[] destinationArray
- int destinationIndex
- int length
public void Transform(Vector3D[] sourceArray, ref Quaternion rotation, Vector3D[] destinationArray)
Transforms a source array of Vector3s by a specified Quaternion rotation and writes the results to an existing destination array.
- Vector3D[] sourceArray
- Quaternion rotation
- Vector3D[] destinationArray
public void Transform(Vector3D[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector3D[] 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.
- Vector3D[] sourceArray
- int sourceIndex
- Quaternion rotation
- Vector3D[] destinationArray
- int destinationIndex
- int length
public Vector3D Transform(Vector3D position, MatrixD matrix)
Transforms a 3D vector by the given matrix.
public Vector3D Transform(Vector3 position, MatrixD matrix)
public Vector3D Transform(Vector3D position, Matrix matrix)
Transforms a 3D vector by the given matrix.
public Vector3D Transform(Vector3D position, ref MatrixD matrix)
public void Transform(ref Vector3D position, ref MatrixD matrix, ref Vector3D result)
Transforms a Vector3 by the given Matrix.
public void Transform(ref Vector3 position, ref MatrixD matrix, ref Vector3D result)
public void Transform(ref Vector3D position, ref MatrixI matrix, ref Vector3D result)
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!