
## \_\_init\_\_(self) {#}

Constructs a new instance of Vector4



```python

def __init__(self):
    ...
```




## \_\_init\_\_(self, vec) {#aspose.threed.utilities.Vector3}

Initializes a new instance of the [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4) struct.



```python

def __init__(self, vec):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| vec | aspose.threed.utilities.Vector3 | Vec. |


## \_\_init\_\_(self, vec) {#aspose.threed.utilities.FVector4}

Initializes a new instance of the [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4) struct.



```python

def __init__(self, vec):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| vec | aspose.threed.utilities.FVector4 | Vec. |


## \_\_init\_\_(self, vec, w) {#aspose.threed.utilities.Vector3-float}

Initializes a new instance of the [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4) struct.



```python

def __init__(self, vec, w):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| vec | aspose.threed.utilities.Vector3 | Vec. |
| w | float | The width. |


## \_\_init\_\_(self, x, y, z) {#float-float-float}

Initializes a new instance of the [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4) struct.



```python

def __init__(self, x, y, z):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| x | float | The x coordinate. |
| y | float | The y coordinate. |
| z | float | The z coordinate. |


## \_\_init\_\_(self, x, y, z, w) {#float-float-float-float}

Initializes a new instance of the [`Vector4`](/3d/python-net/aspose.threed.utilities/vector4) struct.



```python

def __init__(self, x, y, z, w):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| x | float | The x coordinate. |
| y | float | The y coordinate. |
| z | float | The z coordinate. |
| w | float | The width. |



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