
## set(self, new_x, new_y, new_z) {#float-float-float}

Sets vector's xyz components at a time, w will be set to 1



```python

def set(self, new_x, new_y, new_z):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| new_x | float | New X component. |
| new_y | float | New Y component. |
| new_z | float | New Z component. |


## set(self, new_x, new_y, new_z, new_w) {#float-float-float-float}

Sets vector's all components at a time



```python

def set(self, new_x, new_y, new_z, new_w):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| new_x | float | New X component. |
| new_y | float | New Y component. |
| new_z | float | New Z component. |
| new_w | float | New W component. |



### See Also
* module [`aspose.threed.utilities`](../../)
* class [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4)
