# Transfer Morph Targets

<div align="left"><figure><img src="https://2202237093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FililYtTOKJkeJpzbCa02%2Fuploads%2FPBTEuL6XtetZa5sSCGy8%2Fimage.png?alt=media&#x26;token=74af4df6-9722-4d25-9ed3-11fe21a02548" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that transfers morph targets between skeletal meshes.
 * 
 * Projects morph target deltas from a source mesh to a target mesh
 * with different topology, using spatial correspondence.
 * 
 * Usage:
 * 1. Connect source and target skeletal meshes
 * 2. Enter morph target names to transfer
 * 3. Click Apply to transfer morph targets
 */
```

| Parameter                                                                                   | Description                                                                                                                                       |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Morph Targets</p><p><code>stringlist</code></p>                                          | Morph Targets to transfer. Can have multiple, one per row. Shift + Enter to add a new row                                                         |
| <p>bAutomaticallyOverwrite</p><p><code>bool</code></p>                                      | Normal threshold at which a triangle is deemed as incompatible. This helps to avoid triangle flipping during Projection.                          |
| <p>bAutoScale</p><p><code>bool</code></p>                                                   | If true, automatically scales the morph deltas to match the target mesh.                                                                          |
| <p>DeltaMethod</p><p><code>enum</code></p>                                                  | Specifies the method for copying deltas (Replace or Additive).                                                                                    |
| <p>VertexThreshold</p><p><code>float</code></p>                                             | Maximum Distance threshold between a vertex in the target mesh and a vertex in source mesh, at which they are considered to be correspondent.     |
| <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<br><code>bool</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>SmoothType<br><code>enum</code></p>                                                      | Smooth Type used to Smooth the resulted Projected Deltas.                                                                                         |
| <p>SmoothStrength<br><code>float</code></p>                                                 | Smooth Strength used to Smooth the resulted Projected Deltas.                                                                                     |
| <p>SmoothIterations<br><code>integer</code></p>                                             | Smooth Iterations steps used to Smooth the resulted Projected Deltas.                                                                             |
| <p>bApplyToLODs<br><code>bool</code></p>                                                    | If true, applies the morph target to all LODs of the mesh.                                                                                        |
| <p>LODVertexThreshold<br><code>float</code></p>                                             | Maximum Distance threshold between a vertex in the LOD target mesh and a vertex in source mesh, at which they are considered to be correspondent. |
| <p>LODSmoothType<br><code>enum</code></p>                                                   | Smooth Type used to Smooth the resulted LOD Projected Deltas.                                                                                     |
| <p>LODSmoothStrength<br><code>float</code></p>                                              | Smooth Strength used to Smooth the resulted LOD Projected Deltas.                                                                                 |
| <p>LODSmoothIterations<br><code>integer</code></p>                                          | Smooth Iterations steps used to Smooth the resulted LOD Projected Deltas.                                                                         |
