Quaternion constructor

init

Constructs a new instance of Quaternion

def __init__(self):
    ...

init

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