babylonjs-serializers 5.23.0 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -334,7 +334,7 @@ var EXT_mesh_gpu_instancing = /** @class */ (function () {
334
334
  }
335
335
  EXT_mesh_gpu_instancing.prototype.dispose = function () { };
336
336
  Object.defineProperty(EXT_mesh_gpu_instancing.prototype, "wasUsed", {
337
- /** @hidden */
337
+ /** @internal */
338
338
  get: function () {
339
339
  return this._wasUsed;
340
340
  },
@@ -477,8 +477,7 @@ var NAME = "KHR_lights_punctual";
477
477
  // eslint-disable-next-line @typescript-eslint/naming-convention
478
478
  var KHR_lights_punctual = /** @class */ (function () {
479
479
  /**
480
- * @param exporter
481
- * @hidden
480
+ * @internal
482
481
  */
483
482
  function KHR_lights_punctual(exporter) {
484
483
  /** The name of this extension. */
@@ -489,19 +488,19 @@ var KHR_lights_punctual = /** @class */ (function () {
489
488
  this.required = false;
490
489
  this._exporter = exporter;
491
490
  }
492
- /** @hidden */
491
+ /** @internal */
493
492
  KHR_lights_punctual.prototype.dispose = function () {
494
493
  this._lights = null;
495
494
  };
496
495
  Object.defineProperty(KHR_lights_punctual.prototype, "wasUsed", {
497
- /** @hidden */
496
+ /** @internal */
498
497
  get: function () {
499
498
  return !!this._lights;
500
499
  },
501
500
  enumerable: false,
502
501
  configurable: true
503
502
  });
504
- /** @hidden */
503
+ /** @internal */
505
504
  KHR_lights_punctual.prototype.onExporting = function () {
506
505
  this._exporter._glTF.extensions[NAME] = this._lights;
507
506
  };
@@ -673,7 +672,7 @@ __webpack_require__.r(__webpack_exports__);
673
672
 
674
673
  var NAME = "KHR_materials_clearcoat";
675
674
  /**
676
- * @hidden
675
+ * @internal
677
676
  */
678
677
  // eslint-disable-next-line @typescript-eslint/naming-convention
679
678
  var KHR_materials_clearcoat = /** @class */ (function () {
@@ -689,7 +688,7 @@ var KHR_materials_clearcoat = /** @class */ (function () {
689
688
  }
690
689
  KHR_materials_clearcoat.prototype.dispose = function () { };
691
690
  Object.defineProperty(KHR_materials_clearcoat.prototype, "wasUsed", {
692
- /** @hidden */
691
+ /** @internal */
693
692
  get: function () {
694
693
  return this._wasUsed;
695
694
  },
@@ -794,7 +793,7 @@ var KHR_materials_ior = /** @class */ (function () {
794
793
  }
795
794
  KHR_materials_ior.prototype.dispose = function () { };
796
795
  Object.defineProperty(KHR_materials_ior.prototype, "wasUsed", {
797
- /** @hidden */
796
+ /** @internal */
798
797
  get: function () {
799
798
  return this._wasUsed;
800
799
  },
@@ -848,7 +847,7 @@ __webpack_require__.r(__webpack_exports__);
848
847
 
849
848
  var NAME = "KHR_materials_iridescence";
850
849
  /**
851
- * @hidden
850
+ * @internal
852
851
  */
853
852
  // eslint-disable-next-line @typescript-eslint/naming-convention
854
853
  var KHR_materials_iridescence = /** @class */ (function () {
@@ -864,7 +863,7 @@ var KHR_materials_iridescence = /** @class */ (function () {
864
863
  }
865
864
  KHR_materials_iridescence.prototype.dispose = function () { };
866
865
  Object.defineProperty(KHR_materials_iridescence.prototype, "wasUsed", {
867
- /** @hidden */
866
+ /** @internal */
868
867
  get: function () {
869
868
  return this._wasUsed;
870
869
  },
@@ -939,7 +938,7 @@ __webpack_require__.r(__webpack_exports__);
939
938
 
940
939
  var NAME = "KHR_materials_sheen";
941
940
  /**
942
- * @hidden
941
+ * @internal
943
942
  */
944
943
  // eslint-disable-next-line @typescript-eslint/naming-convention
945
944
  var KHR_materials_sheen = /** @class */ (function () {
@@ -955,7 +954,7 @@ var KHR_materials_sheen = /** @class */ (function () {
955
954
  }
956
955
  KHR_materials_sheen.prototype.dispose = function () { };
957
956
  Object.defineProperty(KHR_materials_sheen.prototype, "wasUsed", {
958
- /** @hidden */
957
+ /** @internal */
959
958
  get: function () {
960
959
  return this._wasUsed;
961
960
  },
@@ -1045,7 +1044,7 @@ var KHR_materials_specular = /** @class */ (function () {
1045
1044
  }
1046
1045
  KHR_materials_specular.prototype.dispose = function () { };
1047
1046
  Object.defineProperty(KHR_materials_specular.prototype, "wasUsed", {
1048
- /** @hidden */
1047
+ /** @internal */
1049
1048
  get: function () {
1050
1049
  return this._wasUsed;
1051
1050
  },
@@ -1147,7 +1146,7 @@ var KHR_materials_transmission = /** @class */ (function () {
1147
1146
  }
1148
1147
  KHR_materials_transmission.prototype.dispose = function () { };
1149
1148
  Object.defineProperty(KHR_materials_transmission.prototype, "wasUsed", {
1150
- /** @hidden */
1149
+ /** @internal */
1151
1150
  get: function () {
1152
1151
  return this._wasUsed;
1153
1152
  },
@@ -1225,7 +1224,7 @@ __webpack_require__.r(__webpack_exports__);
1225
1224
 
1226
1225
  var NAME = "KHR_materials_unlit";
1227
1226
  /**
1228
- * @hidden
1227
+ * @internal
1229
1228
  */
1230
1229
  // eslint-disable-next-line @typescript-eslint/naming-convention
1231
1230
  var KHR_materials_unlit = /** @class */ (function () {
@@ -1239,7 +1238,7 @@ var KHR_materials_unlit = /** @class */ (function () {
1239
1238
  this._wasUsed = false;
1240
1239
  }
1241
1240
  Object.defineProperty(KHR_materials_unlit.prototype, "wasUsed", {
1242
- /** @hidden */
1241
+ /** @internal */
1243
1242
  get: function () {
1244
1243
  return this._wasUsed;
1245
1244
  },
@@ -1309,7 +1308,7 @@ var KHR_materials_volume = /** @class */ (function () {
1309
1308
  }
1310
1309
  KHR_materials_volume.prototype.dispose = function () { };
1311
1310
  Object.defineProperty(KHR_materials_volume.prototype, "wasUsed", {
1312
- /** @hidden */
1311
+ /** @internal */
1313
1312
  get: function () {
1314
1313
  return this._wasUsed;
1315
1314
  },
@@ -1400,7 +1399,7 @@ __webpack_require__.r(__webpack_exports__);
1400
1399
  var NAME = "KHR_texture_transform";
1401
1400
 
1402
1401
  /**
1403
- * @hidden
1402
+ * @internal
1404
1403
  */
1405
1404
  // eslint-disable-next-line @typescript-eslint/naming-convention
1406
1405
  var KHR_texture_transform = /** @class */ (function () {
@@ -1422,7 +1421,7 @@ var KHR_texture_transform = /** @class */ (function () {
1422
1421
  }
1423
1422
  };
1424
1423
  Object.defineProperty(KHR_texture_transform.prototype, "wasUsed", {
1425
- /** @hidden */
1424
+ /** @internal */
1426
1425
  get: function () {
1427
1426
  return this._wasUsed;
1428
1427
  },
@@ -1605,7 +1604,7 @@ __webpack_require__.r(__webpack_exports__);
1605
1604
 
1606
1605
 
1607
1606
  /**
1608
- * @hidden
1607
+ * @internal
1609
1608
  * Enum for handling in tangent and out tangent.
1610
1609
  */
1611
1610
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -1621,7 +1620,7 @@ var _TangentType;
1621
1620
  _TangentType[_TangentType["OUTTANGENT"] = 1] = "OUTTANGENT";
1622
1621
  })(_TangentType || (_TangentType = {}));
1623
1622
  /**
1624
- * @hidden
1623
+ * @internal
1625
1624
  * Utility class for generating glTF animation data from BabylonJS.
1626
1625
  */
1627
1626
  var _GLTFAnimation = /** @class */ (function () {
@@ -2572,7 +2571,7 @@ __webpack_require__.r(__webpack_exports__);
2572
2571
 
2573
2572
  /**
2574
2573
  * Converts Babylon Scene into glTF 2.0.
2575
- * @hidden
2574
+ * @internal
2576
2575
  */
2577
2576
  var _Exporter = /** @class */ (function () {
2578
2577
  /**
@@ -3434,9 +3433,7 @@ var _Exporter = /** @class */ (function () {
3434
3433
  return padding;
3435
3434
  };
3436
3435
  /**
3437
- * @param glTFPrefix
3438
- * @param dispose
3439
- * @hidden
3436
+ * @internal
3440
3437
  */
3441
3438
  _Exporter.prototype._generateGLBAsync = function (glTFPrefix, dispose) {
3442
3439
  var _this = this;
@@ -4344,7 +4341,7 @@ var _Exporter = /** @class */ (function () {
4344
4341
  }());
4345
4342
 
4346
4343
  /**
4347
- * @hidden
4344
+ * @internal
4348
4345
  *
4349
4346
  * Stores glTF binary data. If the array buffer byte length is exceeded, it doubles in size dynamically
4350
4347
  */
@@ -4595,7 +4592,7 @@ __webpack_require__.r(__webpack_exports__);
4595
4592
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4596
4593
  /* harmony export */ "__IGLTFExporterExtensionV2": () => (/* binding */ __IGLTFExporterExtensionV2)
4597
4594
  /* harmony export */ });
4598
- /** @hidden */
4595
+ /** @internal */
4599
4596
  // eslint-disable-next-line no-var, @typescript-eslint/naming-convention
4600
4597
  var __IGLTFExporterExtensionV2 = 0; // I am here to allow dts to be created
4601
4598
 
@@ -4626,7 +4623,7 @@ __webpack_require__.r(__webpack_exports__);
4626
4623
 
4627
4624
  /**
4628
4625
  * Utility methods for working with glTF material conversion properties. This class should only be used internally
4629
- * @hidden
4626
+ * @internal
4630
4627
  */
4631
4628
  var _GLTFMaterialExporter = /** @class */ (function () {
4632
4629
  function _GLTFMaterialExporter(exporter) {
@@ -5497,7 +5494,7 @@ var _GLTFMaterialExporter = /** @class */ (function () {
5497
5494
  * Extracts a texture from a Babylon texture into file data and glTF data
5498
5495
  * @param babylonTexture Babylon texture to extract
5499
5496
  * @param mimeType Mime Type of the babylonTexture
5500
- * @return glTF texture info, or null if the texture format is not supported
5497
+ * @returns glTF texture info, or null if the texture format is not supported
5501
5498
  */
5502
5499
  _GLTFMaterialExporter.prototype._exportTextureAsync = function (babylonTexture, mimeType) {
5503
5500
  var _this = this;
@@ -5748,7 +5745,7 @@ __webpack_require__.r(__webpack_exports__);
5748
5745
  /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0__);
5749
5746
 
5750
5747
  /**
5751
- * @hidden
5748
+ * @internal
5752
5749
  */
5753
5750
  var _GLTFUtilities = /** @class */ (function () {
5754
5751
  function _GLTFUtilities() {
@@ -6013,7 +6010,7 @@ var name = "textureTransformPixelShader";
6013
6010
  var shader = "precision highp float;varying vec2 vUV;uniform sampler2D textureSampler;uniform mat4 textureTransformMat;void main(void) {\n#define CUSTOM_FRAGMENT_MAIN_BEGIN\nvec2 uvTransformed=(textureTransformMat*vec4(vUV.xy,1,1)).xy;gl_FragColor=texture2D(textureSampler,uvTransformed);\n#define CUSTOM_FRAGMENT_MAIN_END\n}";
6014
6011
  // Sideeffect
6015
6012
  core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__.ShaderStore.ShadersStore[name] = shader;
6016
- /** @hidden */
6013
+ /** @internal */
6017
6014
  var textureTransformPixelShader = { name: name, shader: shader };
6018
6015
 
6019
6016
 
@@ -6029,7 +6026,7 @@ __webpack_require__.r(__webpack_exports__);
6029
6026
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6030
6027
  /* harmony export */ "__IGLTFExporterExtension": () => (/* binding */ __IGLTFExporterExtension)
6031
6028
  /* harmony export */ });
6032
- /** @hidden */
6029
+ /** @internal */
6033
6030
  // eslint-disable-next-line no-var, @typescript-eslint/naming-convention
6034
6031
  var __IGLTFExporterExtension = 0; // I am here to allow dts to be created
6035
6032