ctor(duration, rotateX, rotateY, rotateZ) {
    cc.ActionInterval.prototype.ctor.call(this);
    this._rotateBy = new cc.kmVec3();
    this._rotation = new cc.kmVec3();
    this.initWithDuration(duration, rotateX, rotateY, rotateZ);
  }
Animates the xyz rotation in degrees of a CardNode.
@function
@param {Number} duration
@param {Number} rotateX
@param {Number} rotateY
@param {Number} rotateZ
@return {SecondaryXYZRotateBy}
@example
// example
var action = SecondaryXYZRotateBy.create(2, 180, 180, 180);