setFromQuaternion method

Euler setFromQuaternion(
  1. Quaternion q, [
  2. String? order,
  3. bool update = false
])

Implementation

Euler setFromQuaternion(Quaternion q, [String? order, bool update = false]) {
  _matrix.makeRotationFromQuaternion(q);

  return setFromRotationMatrix(_matrix, order, update);
}