setFrom method

Quaternion setFrom(
  1. Quaternion quaternion
)

Implementation

Quaternion setFrom(Quaternion quaternion) {
  _x = quaternion.x;
  _y = quaternion.y;
  _z = quaternion.z;
  _w = quaternion.w;

  onChangeCallback();

  return this;
}