# Class cocos.euclid.Quaternion

## Methods

| __init__(self, w=1, x=0, y=0, z=0)
| __copy__(self)
| copy(self)
| __repr__(self)
| __mul__(self, other)
| __imul__(self, other)
| __abs__(self)
| magnitude(self)
| magnitude_squared(self)
| identity(self)
| rotate_axis(self, angle, axis)
| rotate_euler(self, heading, attitude, bank)
| rotate_matrix(self, m)
| conjugated(self)
| normalize(self)
| normalized(self)
| get_angle_axis(self)
| get_euler(self)
| get_matrix(self)
| new_identity(cls)
| new_rotate_axis(cls, angle, axis)
| new_rotate_euler(cls, heading, attitude, bank)
| new_rotate_matrix(cls, m)
| new_interpolate(cls, q1, q2, t)
| __getstate__(self)
| __setstate__(self, state)

## Properties

| w
| x
| y
| z