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