Calculates the local distances between each two corresponding vertices of two
meshes with the same number of vertices.

C# | Visual Basic | Visual C++ |
public static float[] CalculateDistanceBetweenMeshes( BusyWindow busyWindow, Mesh firstMesh, Mesh secondMesh, float maximumLocalDistance )

- busyWindow (BusyWindow)
- If a BusyWindow instance is provided, the progress of the method is shown there. May be null.
- firstMesh (Mesh)
- One of the two meshes needed for the distance calculation.
- secondMesh (Mesh)
- One of the two meshes needed for the distance calculation. Must have the same number of vertices as firstMesh.
- maximumLocalDistance (Single)
- A value calculated from the original mesh's maximum extents in order to calculate a scale-invariant distance measure.

The per-vertex local distance between firstMesh and secondMesh.