nuke.nukemath.Quaternion
- class nuke.nukemath.Quaternion(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: nukemath.Quaternion, arg0: float, arg1: float, arg2: float, arg3: float) -> None
__init__(self: nukemath.Quaternion, arg0: float, arg1: nukemath.Vector3) -> None
__init__(self: nukemath.Quaternion, arg0: nukemath.Quaternion) -> None
__init__(self: nukemath.Quaternion, arg0: nukemath.Matrix4) -> None
__init__(self: nukemath.Quaternion, arg0: nukemath.Vector3, arg1: nukemath.Vector3) -> None
Methods
Attributes
s
vx
vy
vz
- __add__(self: nukemath.Quaternion, arg0: nukemath.Quaternion) nukemath.Quaternion
- __mul__(*args, **kwargs)
Overloaded function.
__mul__(self: nukemath.Quaternion, arg0: float) -> nukemath.Quaternion
__mul__(self: nukemath.Quaternion, arg0: nukemath.Quaternion) -> nukemath.Quaternion
- addInverse(self: nukemath.Quaternion) nukemath.Quaternion
- conjugate(self: nukemath.Quaternion) nukemath.Quaternion
- length(self: nukemath.Quaternion) float
- lengthSquared(self: nukemath.Quaternion) float
- magnitude(self: nukemath.Quaternion) float
- matrix(self: nukemath.Quaternion) nukemath.Matrix4
- multInverse(self: nukemath.Quaternion) nukemath.Quaternion
- set(self: nukemath.Quaternion, arg0: float, arg1: float, arg2: float, arg3: float) None
- slerp(self: nukemath.Quaternion, arg0: nukemath.Quaternion, arg1: float) nukemath.Quaternion