Skip to content
Roblox API Reference

Enum.WrapTargetDebugMode

The Studio-only property for quickly visualizing and debugging meshes with only outer cages.
Items
10
Uses
1

Items10

  • Enum.WrapTargetDebugMode.None = 0
    This debug rendering mode does nothing, and this is the default value.
  • Enum.WrapTargetDebugMode.TargetCageOriginal = 1
    This debug mode shows the original cage mesh as it was created.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.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.
  • Enum.WrapTargetDebugMode.OuterCageDetail = 8
    Visualizes outer cage vertices and related cage faces when hovering a mesh triangle in Studio.
  • Enum.WrapTargetDebugMode.PreWrapDeformerCage = 9
    Renders the outer cage as wireframe with vertex markers in its pre-deformation state.

Used by properties1