recordSnapshot() {
    if (this.sdkCard != null) {
      this.resetSnapshot();

      // show container
      this._containerNode.setVisible(true);

      // snapshot container node to render pass texture
      this._renderPass.beginWithResetClear(this._renderPassStackId);
      this._renderPass.visitNode(this._containerNode);
      this._renderPass.endWithReset(this._renderPassStackId);

      // hide container
      this._containerNode.setVisible(false);

      // show snapshot
      this._snapshotSprite.setVisible(true);
    }
  }
Snapshot container node to render pass texture. This records entire card.