Vector2F constructor

init

Constructs a new instance of Vector2F

def __init__(self):
    ...

init

Initializes a new instance of the Vector2F struct.

def __init__(self, other):
    ...
ParameterTypeDescription
otherVector2FThe other vector.

init

Initializes a new instance of the Vector2F struct.

def __init__(self, x, y):
    ...
ParameterTypeDescription
xfloatX coordinate.
yfloatY coordinate.

See Also