# 顶点权重

参考

- 模式
编辑和权重绘制模式

- 面板

As mentioned before in Vertex Groups
each entry in a vertex group also contains a weight value in the range of (0.0 to 1.0).
Blender provides a *Vertex Weights* panel from where you can get (and edit)
information about the weight values of each vertex of a mesh.
That is: to which vertex groups the vertex is assigned with which weight value.

The Vertex Weights panel can be found in the Sidebar region of the 3D Viewport. It is available in Edit Mode and in Weight Paint Mode (when Vertex Selection masking is enabled as well).

## 顶点组分类

Actually we do not have any strict categories of vertex groups in Blender. Technically they all behave the same way. However, we can identify two implicit categories of vertex groups:

### 形变组

These vertex groups are sometimes also named 'weight groups' or 'weight maps'. They are used for defining the weight tables of armature bones. All deform groups of an object are strictly related to each other via their weight values.

Strictly speaking, the sum of all deform weights for any vertex of a mesh should be exactly 1.0. In Blender this constraint is a bit relaxed (see below). Nevertheless, deform groups should always be seen as related to each other. Hence, we have provided a filter that allows restricting the Vertex Weight panel to display only the deform bones of an object.

### 其他组

All other usages of vertex groups are summarized into the *Other* category.
These vertex groups can be found within Shape keys, Modifiers, etc.
There is really no good name for this category,
so we kept it simple and named it *Other*.

## 权重表

The Weight Table shows all weights associated to the *active vertex*.
Note that a vertex does not necessarily have to be associated to any vertex groups.
In that case the Vertex Weights Panel is not displayed.

Tip

The active Vertex

That is the most recently selected vertex. This vertex is always highlighted so that you can see it easily in the mesh. If the active vertex does not have weights, or there is no active vertex selected at the moment, then the Vertex Weights Panel disappears.

Each row in the Weight table contains four active elements:

### 设置活动组

As soon as you select any of the Vertex Group Names in the Weight table, the referenced vertex group becomes the new active group.

### 编辑模式下显示权重

When you are in Edit Mode, you can make the weights of the active group visible on the mesh:

Select the *Viewport Overlays* popover from the header of the 3D Viewport.
And there enable the *Vertex Group Weights* option.
Now you can see the weights of the active vertex group displayed on the mesh surface.

### Edit Weights in Edit Mode

It is now very easy to work with vertex groups in Edit Mode. All edit options of the mesh are available and you have direct visual control over how your weights change when you edit the weight values.

### 修改单个权重

You can either enter a new weight value manually (click on the number and edit the value),
or you can change the weight by `LMB` and while holding down the mouse button,
drag right or left to increase/decrease the weight value. You also can use the right/left
arrows displayed around the weight value to change the weight in steps.

### Pasting

`LMB` the Paste button allows you to forward a single weight of the active vertex to all selected vertices.
But note that weights are only pasted to vertices which already have a weight value in the affected vertex group.

### Deleting

`LMB` the Delete button will instantly remove the weight from the active vertex.
Thus the entire row disappears when you click on the delete icon.

## 工具

- 规格化
Normalizes the weights of the active vertex. That is all weights of the active vertex are recalculated such that their relative weight is maintained and the weight sum is 1.0.

- 复制
Copies all weights defined for the active vertex to all selected vertices. Thus all previously defined weights are overwritten.

Tip

The filter setting is respected

Note that both tools only work on the vertex groups currently displayed in the Weights Table.
So if for example only the *Deform weights* are displayed,
then Normalize and Copy only affect the Deform bones.

## 锁定

Whenever a weight group is locked, all data changing tools get disabled:

Normalize the vertex weights.

Copy the vertex weights.

Change the weight of the active vertices.

Paste to selected vertices.

Tip

The filter setting is respected

If you have for example all deform weight groups unlocked and all other vertex groups locked,
then you can safely select *Deform* from the Filter row
and use all available tools from the Weight Table again.