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

Constructs a new instance of Vector2



```python

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




## \_\_init\_\_(self, s) {#float}

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



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| s | float | S. |


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

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



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| s | [`Vector3`](/3d/python-net/aspose.threed.utilities/vector3) | S. |


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

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



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| vec | [`FVector2`](/3d/python-net/aspose.threed.utilities/fvector2) | Vector in float. |


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

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



```python

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


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



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