v5.0
Modifies the value of a weight property.
oReturn = PaintWeights( [InputObj], Indices, Weights, [Flags], [Deformer], [Normalize] ); |
Returns the painter Operator.
| Parameter | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| InputObj | String |
The weight property to paint on, or the Weight Paint Operator. Default Value: Current selection |
||||||
| Indices | XSICollection | Array of indices of the weight values to modify. | ||||||
| Weights | XSICollection | The new value for each index (or a single value for all). | ||||||
| Flags | Integer |
Paint flag. Default Value: 0
|
||||||
| Deformer | Integer |
Number of the deformer, if it is an envelope weight map Default Value: 0 |
||||||
| Normalize | Boolean |
True to automatically normalizes weights as you paint, if it is an envelope weight map. Default Value: True |