nuke.nukemath.Quaternion

class nuke.nukemath.Quaternion(*args, **kwargs)

Bases: pybind11_builtins.pybind11_object

Overloaded function.

  1. __init__(self: nukemath.Quaternion, arg0: float, arg1: float, arg2: float, arg3: float) -> None

  2. __init__(self: nukemath.Quaternion, arg0: float, arg1: nukemath.Vector3) -> None

  3. __init__(self: nukemath.Quaternion, arg0: nukemath.Quaternion) -> None

  4. __init__(self: nukemath.Quaternion, arg0: nukemath.Matrix4) -> None

  5. __init__(self: nukemath.Quaternion, arg0: nukemath.Vector3, arg1: nukemath.Vector3) -> None

Methods

addInverse

conjugate

length

lengthSquared

magnitude

matrix

multInverse

set

slerp

Attributes

s

vx

vy

vz

__add__(self: nukemath.Quaternion, arg0: nukemath.Quaternion) nukemath.Quaternion
__mul__(*args, **kwargs)

Overloaded function.

  1. __mul__(self: nukemath.Quaternion, arg0: float) -> nukemath.Quaternion

  2. __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