set_vertex_group_weights
Assign or update vertex group weights on an object using per-vertex values or a uniform weight, with replace, add, or subtract modes. Creates the group if it does not exist.
Instructions
设置顶点组权重:weights=[[vertex_index, weight], …] 或 all=统一值;mode: REPLACE/ADD/SUBTRACT。组不存在则创建。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| mode | No | REPLACE | |
| group | Yes | ||
| object | Yes | ||
| weights | No |