# 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.                                                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meshmorpher.com/graph/deltas/apply-deltas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
