# Bake DNA Geometry

<div align="left"><figure><img src="https://2202237093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FililYtTOKJkeJpzbCa02%2Fuploads%2FUaqa5g4f7e5CK5rbj7hK%2Fimage.png?alt=media&#x26;token=4434223a-488d-4650-a8a2-da87d44e4157" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that bakes mesh changes back into a MetaHuman DNA asset.
 * 
 * Applies mesh modifications to the DNA, with options for skeleton
 * updates, morph target transfer, and LOD propagation.
 * 
 * Usage:
 * 1. Connect modified mesh and DNA asset
 * 2. Configure bake options
 * 3. Click Apply to update DNA
 */
```

| Parameter                                     | Description                                                                                            |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| <p>LODIndex</p><p><code>integer</code></p>    | Selected LOD Index. Must be valid.                                                                     |
| <p>bBakeSkeleton</p><p><code>bool</code></p>  | Whether to bake skeleton changes. Only updates current skeleton bones.                                 |
| <p>bBakeMeshData</p><p><code>bool</code></p>  | Whether to bake Mesh Data                                                                              |
| <p>bRemoveScaling</p><p><code>bool</code></p> | Enabling this removes the scaling but preserves translation and rotation. Scale will always be (1,1,1) |
