Skip to main content

Preview

The preview uses the NDMF preview feature and is drawn only in the Scene view. The original mesh and the values in the scene are not changed.

Preview on: the clothing swells with the enlarged body

Preview off: the original shape

  • The preview is on from the start, so turning the clothing on or reopening Unity shows the same result as the avatar build right away. Turning off the Preview checkbox keeps it off until Unity is reopened, scripts reload, or the scene is closed and opened again. Changing a value on an entry or adding a shape key leaves it off. Turning the Preview checkbox on or moving an entry's Preview slider turns it on again.
  • Use the checkbox on the Preview heading near the bottom of the Inspector to turn it off and on again. It works while folded; unfold it for Preview body too, Show influence and Dot size.
  • The Preview slider (0–100) on an entry is a check value. Its tooltip says this value is only for the Scene view and the build uses the Default value below. It is saved with the scene or prefab and stays after Unity is reopened, but the avatar build does not use it. Until you move it, the new shape key on the clothing is shown at Default value, as in the avatar build, and the body shape key keeps the value set in the scene.
  • With Preview body too on, the body's original shape key of an entry whose Preview slider you moved is shown at the same value. It is not used in the build. The toggle says the same. Keep it on to check whether the clothing covers the body well.
  • With Show influence on, the Scene view draws the selected entry like this.
    • A colored dot on each clothing vertex shows how much the shape key moves that vertex. Blue is a weak movement and orange is a strong one. Change the size of the dots with Dot size; it is saved for this computer.
    • The part of the body that the shape key moves is filled in translucent orange. Movement range and Smoothing range are both measured from this part. It is drawn over the clothing so that it stays visible under it.
    • With the mouse over the clothing, a blue circle the size of Smoothing range is drawn at that point.
  • While the preview is on and the component is selected, the Scene view always draws two lines on the clothing for the selected entry's range. The orange line is where Movement range ends; clothing vertices outside it do not move. The lavender line inside it is where Movement fade starts. Both lines come from the distance to the moving part of the body, so they match the boundary the clothing actually gets. The lines are redrawn right away as you move the sliders.

Show influence: dots on the clothing, the moving part of the body, the smoothing range circle under the mouse and the range lines on the clothing

NDMF's preview on/off list also includes Shape Key Transfer, so you can turn off all previews from this tool at once.