nuke.nukemath.Vector2
- class nuke.nukemath.Vector2(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: nukemath.Vector2) -> None
__init__(self: nukemath.Vector2, arg0: float, arg1: float) -> None
__init__(self: nukemath.Vector2, arg0: nukemath.Vector2) -> None
Methods
Overloaded function.
Attributes
x
y
- __add__(self: nukemath.Vector2, arg0: nukemath.Vector2) nukemath.Vector2
- __mul__(*args, **kwargs)
Overloaded function.
__mul__(self: nukemath.Vector2, arg0: float) -> nukemath.Vector2
__mul__(self: nukemath.Vector2, arg0: nukemath.Vector2) -> nukemath.Vector2
__mul__(self: nukemath.Vector2, arg0: float) -> nukemath.Vector2
- cross(self: nukemath.Vector2, arg0: nukemath.Vector2) float
- distanceBetween(self: nukemath.Vector2, arg0: nukemath.Vector2) float
- distanceSquared(self: nukemath.Vector2, arg0: nukemath.Vector2) float
- dot(self: nukemath.Vector2, arg0: nukemath.Vector2) float
- length(self: nukemath.Vector2) float
- lengthSquared(self: nukemath.Vector2) float
- negate(self: nukemath.Vector2) None
- normalize(self: nukemath.Vector2) float
- set(*args, **kwargs)
Overloaded function.
set(self: nukemath.Vector2, arg0: float) -> None
set(self: nukemath.Vector2, arg0: float, arg1: float) -> None
set(self: nukemath.Vector2, arg0: nukemath.Vector2) -> None