
## set_weight(self, target, weight) {#aspose.threed.entities.Shape-float}

Sets the weight for the specified target, default value is 1, range should between 0~1



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| target | aspose.threed.entities.Shape |  |
| weight | float |  |



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