> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/graph/deltas/apply-deltas.md).

# Apply Deltas

<div align="left"><figure><img src="/files/c1gZvF2XYvC4sxCAKC6r" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that applies vertex deltas from one mesh to another.
 * 
 * Projects morph target deltas between meshes with different topology,
 * using distance thresholds and optional smoothing.
 * 
 * Usage:
 * 1. Connect base mesh and delta source
 * 2. Configure threshold and smoothing settings
 * 3. Output is the deformed mesh
 */
```

| Parameter                                                                                   | Description                                                                                                              |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| <p>Threshold</p><p><code>float</code></p>                                                   | Number of nearest neighbors (KNN) used for the affine transformation. Higher values may improve stability.               |
| <p>NormalIncompatibilityThreshold</p><p><code>float</code></p>                              | Normal threshold at which a triangle is deemed as incompatible. This helps to avoid triangle flipping during Projection. |
| <p>bMatchMaterialIDs</p><p><code>bool</code></p>                                            | Apply deltas only to vertices that have same material ID.                                                                |
| <p>Subdivision</p><p><code>integer</code></p>                                               | Subdivide the resulted deltas from input files. This usually increase quality and the precision of the final result.     |
| <p>bMatchByUV</p><p><code>boolean</code></p>                                                | <p>Match Base and Morphed files by UVs, ignoring vertex count and order.                                                 |
| <br>This shouldn't be used with welded meshes because they don't have their UVs intact.</p> |                                                                                                                          |
| <p>SmoothIterations</p><p><code>integer</code></p>                                          | Smooth Iterations steps used to Smooth the resulted Projected Deltas.                                                    |
| <p>SmoothStrength</p><p><code>float</code></p>                                              | Smooth Strength used to Smooth the resulted Projected Deltas.                                                            |
| <p>SmoothType</p><p><code>enum</code></p>                                                   | Smooth Type used to Smooth the resulted Projected Deltas.                                                                |
| <p>bTransferBoneTransforms<br><code>boolean</code></p>                                      | Whether to transfer bone transforms from the target mesh to source mesh.                                                 |
