Cloth Monitor

 

Overview

Cloth Monitor is a function to display various states of MagicaCloth in gizmo in the scene view.
It is recommended that you always display the window when you have room in the layout of UnityEditor.
Windows can be docked.

starting method

The cloth monitor can be activated in two ways.

(1) From the inspector

MagicaCloth’s component inspector has an Open Cloth Monitor button.
You can start by pressing this button.

 

(2) From the menu

It can be started by selecting [Tools/MagicaCloth/ClothMonitor] from the menu of UnityEditor.

 

information

The information displayed on the cloth monitor is as follows.

Item Description
Team Total number of teams
Active Team Active teams
Shared Virtual Mesh Number of shared data of virtual mesh
Virtual Mesh Number of virtual mesh instances
Shared Child Mesh Number of data linking virtual mesh and render mesh
Shared Render Mesh Number of shared data of render mesh
Render Mesh Number of render mesh instances
Virtual Mesh Vertex Total number of vertices of virtual mesh
Virtual Mesh Triangle Total number of triangles of virtual mesh
Render Mesh Vertex Total number of vertices in the render mesh
Virtual Mesh Used Number of virtual meshes in use
Virtual Mesh Vertex Used Total number of virtual mesh vertices in use
Render Mesh Used Number of render meshes in use
Render Mesh Vertex Used Total number of render mesh vertices in use
Particle Total number of physics engine particles
Collider Total number of physics engine colliders
Restore Transform Total number of transforms to restore
Read Transform Total number of transforms to read
Write Transform Total number of transforms to write
Cloth team Gizmo

By checking [Cloth Team Gizmos], various states of the cloth component can be displayed as gizmos in the scene view.

Item Description
Always Show If you want to always display regardless of the selection state, please turn on
Particle Position Displays particles
Particle Radius Displays the radius of the particles
Particle Depth Displays the depth of the particles.
The depth start point (0.0) (fixed) is red, and the depth end point (1.0) (the end of moving particles) is blue.
Particle Base Displays the original position of the particles.
This is the original position where the cloth simulation was not performed.
Collider Displays colliders.
Struct Distance Line Displays lines to maintain the mesh structure.
This is linked with the Struct Point setting of the [Restore Distance] parameter.
Bend Distance Line Displays lines to maintain the bend structure.
This is linked with the Bend Point setting of the [Restore Distance] parameter.
Near Distance Line Displays a line to maintain the proximity structure.
This is linked with the Near Point setting of the [Restore Distance] parameter.
Rotation Line Display rotation line.
This is linked with the [Restore Rotation] parameter setting.
Triangle Bend Displays the triangle to maintain the triangle bend (bend by polygon) structure.
This is linked with the [Triangle Bend] parameter setting.
Deformer Gizmo

By checking [Deformer Gizmos], various states of deformer components can be displayed as gizmos in the Scene view.

Item Description
Always Show If you want to always display regardless of the selection state, please turn on
Vertex Position Show deformer vertices
Line Show deformer lines
Triangle Show deformer triangle