# Enum.WrapTargetDebugMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/WrapTargetDebugMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/WrapTargetDebugMode

The Studio-only property for quickly visualizing and debugging meshes with only outer cages.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `None` | 0 | This debug rendering mode does nothing, and this is the default value. |
| `TargetCageOriginal` | 1 | This debug mode shows the original cage mesh as it was created. |
| `TargetCageCompressed` | 2 | This debug mode shows corresponding cage mesh compressed by clothing layers above it. This debug mode is intended to validate that the compression algorithm and corresponding cages work as intended. |
| `TargetCageInterface` | 3 | This debug mode shows the resulting cage mesh for the corresponding Wrap Instance. This debug mode is intended to validate that the final deformed cage looks as intended. |
| `TargetLayerCageOriginal` | 4 | The same as TargetCageOriginal but affects all WrapTargets that belong to the Wrap Deformer simultaneously. It doesn't matter which particular WrapTarget you enable this debug visualization option. |
| `TargetLayerCageCompressed` | 5 | The same as TargetCageCompressed but affects all WrapTargets that belong to the Wrap Deformer simultaneously. It doesn't matter which particular WrapTarget you enable this debug visualization option. |
| `TargetLayerInterface` | 6 | The same as TargetCageInterface but affects all WrapTargets that belong to the Wrap Deformer simultaneously. It doesn't matter which particular WrapTarget you enable this debug visualization option. |
| `Rbf` | 7 | This debug mode visualizes the internal RBF solver state. You can estimate the wrap deformer expected behavior by looking at this state. All renderable mesh vertices move from a "big sphere" to a "small sphere" along a corresponding line connecting two spheres. |
| `OuterCageDetail` | 8 | Visualizes outer cage vertices and related cage faces when hovering a mesh triangle in Studio. |
| `PreWrapDeformerCage` | 9 | Renders the outer cage as wireframe with vertex markers in its pre-deformation state. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [WrapTarget](https://rapi.sleaze.dev/classes/WrapTarget.md): property `DebugMode`
