Calculates the staircase-aware smoothing weights based on the distance of
each vertex to an artifact vertex.

C# | Visual Basic | Visual C++ |
public static float[] CalculateVertexSmoothingWeights( BusyWindow busyWindow, Mesh mesh, float distanceThreshold, float minimumWeight, int maximumOccuringTopologyDepth, float[] distanceToArtifacts )

- busyWindow (BusyWindow)
- If a BusyWindow instance is provided, the progress of the method is shown there. May be null.
- mesh (Mesh)
- The mesh to be processed.
- distanceThreshold (Single)
- Limits the maximum distance of a vertex to an artifact vertex that is considered.
- minimumWeight (Single)
- The output is guaranteed to be at least this value, i.e. additionally to the staircase-aware smoothing, uniform smoothing can be controlled with this parameter.
- maximumOccuringTopologyDepth (Int32)
- The highest topological distance of any vertex to an artifact vertex. The upper limit is MaximumTopologyDepth.
- distanceToArtifacts (array<Single>[]()[][])
- Per-vertex topological distance to the closest artifact vertex.

The per-vertex staircase-aware smoothing weight.