paya.runtime.data.Quaternion#

class Quaternion(*args, **kwargs)#

Inheritance

Quaternion Matrix Matrix MatrixN Array MMatrix MQuaternion

__add__(other)#

Implements addition (+).

Overloads pymel.core.datatypes.Quaternion.__add__() to add support for 1D or 3D plugs.

__radd__(other)#

Implements reflected addition (+).

Overloads pymel.core.datatypes.Quaternion.__radd__() to add support for 1D or 3D plugs.

__sub__(other)#

Implements subtraction (-).

Overloads pymel.core.datatypes.Quaternion.__sub__() to add support for 1D or 3D plugs.

__rsub__(other)#

Implements reflected subtraction (-).

Overloads pymel.core.datatypes.Quaternion.__rsub__() to add support for 1D or 3D plugs.

__mul__(other)#

Implements multiplication (*).

Overloads pymel.core.datatypes.Quaternion.__mul__() to add support for 1D or 3D plugs.

__rmul__(other)#

Implements reflected multiplication (*).

Overloads pymel.core.datatypes.Quaternion.__rmul__() to add support for 1D or 3D plugs.