Views
Metrics
The Metrics panel counts what the skeleton costs. It is a read-out: nothing in it can be edited or selected. Its job is to tell you, before the skeleton reaches a game, how many bones, slots and triangles it has and how heavy it will be to draw. This article explains the counters of the Structure section, the meters of the Runtime cost section, what each number is counted from and how to use the panel to keep a character light.

Opening the panel#
The panel is not in the default layout. Open it from the Panels menu. It works in Setup and in Animate. The numbers refresh when the document changes, when you switch the mode or the animation, and, during playback, at most once a second, so the panel never slows the playback down. Moving a bone does not change any counter, so the panel does not redraw while you pose.
Structure#
The first section is a grid of eight cards. Bones and Slots count the objects of the skeleton. Attachments shows two numbers, visible / total: the attachments that are shown for the skins that are on now, out of all attachments of the skeleton. A skeleton with many skins has far more attachments in total than are ever drawn at one time, and the number on the left is the one that costs something. Vertices and Triangles are the totals of the attachments that are drawn in the current pose: a region counts as 4 vertices and 2 triangles, and a mesh counts its own vertices and triangles.
Constraints counts all the constraints of the skeleton. Animations and Keys count the animations and all the keys of the whole document. The cards reflect the active skins and the pose, so switching a skin changes Attachments, Vertices and Triangles. Use them as a quick check against a budget: the target game usually gives a character a limit on bones and on triangles.
Runtime cost#
The second section estimates what a runtime has to do to draw the current frame. Its title reads Runtime cost, and in Animate it adds the frame number, such as Runtime cost · frame 0, because the cost depends on the pose at that frame. Every row is a name, a number and a bar. The bar is full when the number reaches the budget of that row, and a bar that crosses the warning line changes its tone, so a problem is easy to see from across the room. The budgets are deliberately roomy: an ordinary character does not touch them.
Draw calls is the number of batches. Consecutive attachments that sit on the same atlas page, use the same blend mode and share the same clipping state are drawn in one call, so a different page, a different blend mode or a clipping attachment starts a new one. The budget is 60 calls. Keep related parts together in the draw order (see Slots) and pack them on one atlas page to reduce this number.
Deformed vertices shows how many of the vertices are deformed, as deformed / total: the vertices of the meshes that have deform keys or weights. This is a share and not a budget, and the bar goes to the warning tone from half of all vertices and higher still at 85%. A mesh that is deformed is recalculated on the CPU every frame, so a rig that deforms most of what it draws is costly.
Clipping triangles counts the triangles that are drawn under a clipping attachment (see Clipping), and its bar warns from a quarter of all triangles and goes higher at a half. Texture memory is the memory of the atlas for the images that are shown, with the number of pages: Ligamen plans the atlas like the packer does, with power-of-two pages up to 2048 pixels and 4 bytes for a pixel. The budget is 64 MB, which is four pages of 2048 by 2048. Update time is an estimate in milliseconds of the time that the runtime needs to update the pose, against a budget of 2 ms. It is a rough guide for comparing two versions of a rig, not a measurement of a particular device.
Using the panel#
Switch skins and look at Attachments and Draw calls: a skin that adds attachments from another atlas page is a common cause of extra batches. Check Deformed vertices after you add weights, and Clipping triangles after you add a clipping attachment to a large area. Compare Texture memory before and after you pack the atlas again. In Animate, move the playhead and watch the frame number in the section title when a pose looks slow: the cost belongs to a frame, and a part that is hidden in one pose is drawn in another.