function VRModule() {
      var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
      _classCallCheck(this, VRModule);
      this.params = Object.assign(params, {
        message: true,
        button: true
      });
      this.scene = null;
      this.camera = null;
      this.effect = null;
    }
@author mrdoob / http://mrdoob.com
@author Mugen87 / https://github.com/Mugen87

Based on @tojiro's vr-samples-utils.js