
## set_weight(self, index, weight) {#int-float}

Sets the weight for control point specified by index



```python

def set_weight(self, index, weight):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | Control point's index |
| weight | float | New weight |



### See Also
* module [`aspose.threed.deformers`](../../)
* class [`Bone`](/3d/python-net/aspose.threed.deformers/bone)
