This repository was archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
VRageMath.Vector3D.TransformNormal
Morten Aune Lyrstad edited this page Apr 13, 2023
·
25 revisions
← Index ← Namespace Index ← Vector3D
public static Vector3D TransformNormal(Vector3D normal, MatrixD matrix)
Transforms a 3D vector normal by a matrix.
public static void TransformNormal(ref Vector3D normal, ref MatrixD matrix, out Vector3D result)
Transforms a vector normal by a matrix.
public static void TransformNormal(ref Vector3 normal, ref MatrixD matrix, out Vector3D result)
public static void TransformNormal(ref Vector3D normal, ref MatrixI matrix, out Vector3D result)
public static Vector3D TransformNormal(Vector3D normal, MyBlockOrientation orientation)
- Vector3D normal
- MyBlockOrientation orientation
public static void TransformNormal(ref Vector3D normal, MyBlockOrientation orientation, out Vector3D result)
- Vector3D normal
- MyBlockOrientation orientation
- Vector3D result
public static Vector3D TransformNormal(Vector3D normal, ref MatrixD matrix)
public static void TransformNormal(Vector3D[] sourceArray, ref Matrix matrix, Vector3D[] destinationArray)
Transforms an array of 3D vector normals by a specified Matrix.
- Vector3D[] sourceArray
- Matrix matrix
- Vector3D[] destinationArray
public static void TransformNormal(Vector3D[] sourceArray, ref Matrix matrix, *Vector3D destinationArray)
- Vector3D[] sourceArray
- Matrix matrix
- Vector3D destinationArray
public static void TransformNormal(Vector3D[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3D[] destinationArray, int destinationIndex, int length)
Transforms a specified range in an array of 3D vector normals by a specified Matrix and writes the results to a specified range in a destination array.
- Vector3D[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector3D[] destinationArray
- int destinationIndex
- int length
public static Vector3D TransformNormal(Vector3D normal, Matrix matrix)
Transforms a 3D vector normal by a matrix.
public static Vector3D TransformNormal(Vector3 normal, MatrixD matrix)
Transforms a 3D vector normal by a matrix.
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!