fromBuffer method
Implementation
Quaternion fromBuffer(BufferAttribute attribute, int index) {
  _x = attribute.getX(index)!.toDouble();
  _y = attribute.getY(index)!.toDouble();
  _z = attribute.getZ(index)!.toDouble();
  _w = attribute.getW(index)!.toDouble();
  return this;
}