Quaternion constructor

__init__(self)

Constructs a new instance of Quaternion


def __init__(self):
    ...

__init__(self, w, x, y, z)

Initializes a new instance of the Quaternion class.


def __init__(self, w, x, y, z):
    ...
ParameterTypeDescription
wfloatw component of the quaternion
xfloatx component of the quaternion
yfloaty component of the quaternion
zfloatz component of the quaternion

See Also