-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.Vector2D.Transform
This API documentation is out of date and no longer maintained.
Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi
← Index ← Namespace Index ← Vector2D
public static Vector2D Transform(Vector2D position, Matrix matrix)Transforms the vector (x, y, 0, 1) by the specified matrix.
public static void Transform(ref Vector2D position, ref Matrix matrix, out Vector2D result)Transforms a Vector2D by the given Matrix.
public static Vector2D Transform(Vector2D value, Quaternion rotation)Transforms a single Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
- Vector2D value
- Quaternion rotation
public static void Transform(ref Vector2D value, ref Quaternion rotation, out Vector2D result)Transforms a Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
- Vector2D value
- Quaternion rotation
- Vector2D result
public static void Transform(Vector2D[] sourceArray, ref Matrix matrix, Vector2D[] destinationArray)Transforms an array of Vector2s by a specified Matrix.
- Vector2D[] sourceArray
- Matrix matrix
- Vector2D[] destinationArray
public static void Transform(Vector2D[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2D[] destinationArray, int destinationIndex, int length)Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.
- Vector2D[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector2D[] destinationArray
- int destinationIndex
- int length
public static void Transform(Vector2D[] sourceArray, ref Quaternion rotation, Vector2D[] destinationArray)Transforms an array of Vector2s by a specified Quaternion.
- Vector2D[] sourceArray
- Quaternion rotation
- Vector2D[] destinationArray
public static void Transform(Vector2D[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector2D[] destinationArray, int destinationIndex, int length)Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.
- Vector2D[] sourceArray
- int sourceIndex
- Quaternion rotation
- Vector2D[] 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!