initWithDuration(duration, rotateX, rotateY, rotateZ) {
    if (cc.ActionInterval.prototype.initWithDuration.call(this, duration)) {
      this._rotateBy.x = rotateX || 0.0;
      this._rotateBy.y = rotateY || 0.0;
      this._rotateBy.z = rotateZ || 0.0;
      return true;
    }
    return false;
  }
Animates the xyz rotation in degrees of a cc.Node.
@function
@param {Number} duration
@param {Number} rotateX
@param {Number} rotateY
@param {Number} rotateZ
@return {XYZRotateBy}
@example
// example
var action = XYZRotateBy.create(2, 180, 180, 180);