Vector2 constructor
Contents
[
Hide
]__init__(self)
Constructs a new instance of Vector2
def __init__(self):
...
__init__(self, s)
Initializes a new instance of the Vector2 struct.
def __init__(self, s):
...
| Parameter | Type | Description |
|---|---|---|
| s | float | S. |
__init__(self, s)
Initializes a new instance of the Vector2 struct.
def __init__(self, s):
...
| Parameter | Type | Description |
|---|---|---|
| s | Vector3 | S. |
__init__(self, vec)
Initializes a new instance of the Vector2 struct.
def __init__(self, vec):
...
| Parameter | Type | Description |
|---|---|---|
| vec | FVector2 | Vector in float. |
__init__(self, x, y)
Initializes a new instance of the Vector2 struct.
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