babylonjs-serializers 5.24.0 → 5.26.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.
- package/babylon.glTF2Serializer.js +29 -32
- package/babylon.glTF2Serializer.js.map +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +32 -35
- package/babylonjs.serializers.js +29 -32
- package/babylonjs.serializers.js.map +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/babylonjs.serializers.module.d.ts +64 -70
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ declare module BABYLON {
|
|
|
14
14
|
private _wasUsed;
|
|
15
15
|
constructor(exporter: _Exporter);
|
|
16
16
|
dispose(): void;
|
|
17
|
-
/** @
|
|
17
|
+
/** @internal */
|
|
18
18
|
get wasUsed(): boolean;
|
|
19
19
|
postExportNodeAsync?(context: string, node: Nullable<BABYLON.GLTF2.INode>, babylonNode: Node, nodeMap?: {
|
|
20
20
|
[key: number]: number;
|
|
@@ -39,15 +39,14 @@ declare module BABYLON {
|
|
|
39
39
|
private _exporter;
|
|
40
40
|
private _lights;
|
|
41
41
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* @hidden
|
|
42
|
+
* @internal
|
|
44
43
|
*/
|
|
45
44
|
constructor(exporter: _Exporter);
|
|
46
|
-
/** @
|
|
45
|
+
/** @internal */
|
|
47
46
|
dispose(): void;
|
|
48
|
-
/** @
|
|
47
|
+
/** @internal */
|
|
49
48
|
get wasUsed(): boolean;
|
|
50
|
-
/** @
|
|
49
|
+
/** @internal */
|
|
51
50
|
onExporting(): void;
|
|
52
51
|
/**
|
|
53
52
|
* Define this method to modify the default behavior when exporting a node
|
|
@@ -64,7 +63,7 @@ declare module BABYLON {
|
|
|
64
63
|
|
|
65
64
|
|
|
66
65
|
/**
|
|
67
|
-
* @
|
|
66
|
+
* @internal
|
|
68
67
|
*/
|
|
69
68
|
export class KHR_materials_clearcoat implements IGLTFExporterExtensionV2 {
|
|
70
69
|
/** Name of this extension */
|
|
@@ -77,7 +76,7 @@ declare module BABYLON {
|
|
|
77
76
|
private _wasUsed;
|
|
78
77
|
constructor(exporter: _Exporter);
|
|
79
78
|
dispose(): void;
|
|
80
|
-
/** @
|
|
79
|
+
/** @internal */
|
|
81
80
|
get wasUsed(): boolean;
|
|
82
81
|
postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
83
82
|
postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
|
|
@@ -97,7 +96,7 @@ declare module BABYLON {
|
|
|
97
96
|
private _wasUsed;
|
|
98
97
|
constructor();
|
|
99
98
|
dispose(): void;
|
|
100
|
-
/** @
|
|
99
|
+
/** @internal */
|
|
101
100
|
get wasUsed(): boolean;
|
|
102
101
|
private _isExtensionEnabled;
|
|
103
102
|
postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
|
|
@@ -105,7 +104,7 @@ declare module BABYLON {
|
|
|
105
104
|
|
|
106
105
|
|
|
107
106
|
/**
|
|
108
|
-
* @
|
|
107
|
+
* @internal
|
|
109
108
|
*/
|
|
110
109
|
export class KHR_materials_iridescence implements IGLTFExporterExtensionV2 {
|
|
111
110
|
/** Name of this extension */
|
|
@@ -118,7 +117,7 @@ declare module BABYLON {
|
|
|
118
117
|
private _wasUsed;
|
|
119
118
|
constructor(exporter: _Exporter);
|
|
120
119
|
dispose(): void;
|
|
121
|
-
/** @
|
|
120
|
+
/** @internal */
|
|
122
121
|
get wasUsed(): boolean;
|
|
123
122
|
postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
124
123
|
postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
|
|
@@ -126,7 +125,7 @@ declare module BABYLON {
|
|
|
126
125
|
|
|
127
126
|
|
|
128
127
|
/**
|
|
129
|
-
* @
|
|
128
|
+
* @internal
|
|
130
129
|
*/
|
|
131
130
|
export class KHR_materials_sheen implements IGLTFExporterExtensionV2 {
|
|
132
131
|
/** Name of this extension */
|
|
@@ -139,7 +138,7 @@ declare module BABYLON {
|
|
|
139
138
|
private _exporter;
|
|
140
139
|
constructor(exporter: _Exporter);
|
|
141
140
|
dispose(): void;
|
|
142
|
-
/** @
|
|
141
|
+
/** @internal */
|
|
143
142
|
get wasUsed(): boolean;
|
|
144
143
|
postExportMaterialAdditionalTextures(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
145
144
|
postExportMaterialAsync(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
|
|
@@ -160,7 +159,7 @@ declare module BABYLON {
|
|
|
160
159
|
private _wasUsed;
|
|
161
160
|
constructor(exporter: _Exporter);
|
|
162
161
|
dispose(): void;
|
|
163
|
-
/** @
|
|
162
|
+
/** @internal */
|
|
164
163
|
get wasUsed(): boolean;
|
|
165
164
|
postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
166
165
|
private _isExtensionEnabled;
|
|
@@ -183,7 +182,7 @@ declare module BABYLON {
|
|
|
183
182
|
private _wasUsed;
|
|
184
183
|
constructor(exporter: _Exporter);
|
|
185
184
|
dispose(): void;
|
|
186
|
-
/** @
|
|
185
|
+
/** @internal */
|
|
187
186
|
get wasUsed(): boolean;
|
|
188
187
|
postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
189
188
|
private _isExtensionEnabled;
|
|
@@ -193,7 +192,7 @@ declare module BABYLON {
|
|
|
193
192
|
|
|
194
193
|
|
|
195
194
|
/**
|
|
196
|
-
* @
|
|
195
|
+
* @internal
|
|
197
196
|
*/
|
|
198
197
|
export class KHR_materials_unlit implements IGLTFExporterExtensionV2 {
|
|
199
198
|
/** Name of this extension */
|
|
@@ -204,7 +203,7 @@ declare module BABYLON {
|
|
|
204
203
|
required: boolean;
|
|
205
204
|
private _wasUsed;
|
|
206
205
|
constructor();
|
|
207
|
-
/** @
|
|
206
|
+
/** @internal */
|
|
208
207
|
get wasUsed(): boolean;
|
|
209
208
|
dispose(): void;
|
|
210
209
|
postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
|
|
@@ -225,7 +224,7 @@ declare module BABYLON {
|
|
|
225
224
|
private _wasUsed;
|
|
226
225
|
constructor(exporter: _Exporter);
|
|
227
226
|
dispose(): void;
|
|
228
|
-
/** @
|
|
227
|
+
/** @internal */
|
|
229
228
|
get wasUsed(): boolean;
|
|
230
229
|
postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
|
|
231
230
|
private _isExtensionEnabled;
|
|
@@ -235,7 +234,7 @@ declare module BABYLON {
|
|
|
235
234
|
|
|
236
235
|
|
|
237
236
|
/**
|
|
238
|
-
* @
|
|
237
|
+
* @internal
|
|
239
238
|
*/
|
|
240
239
|
export class KHR_texture_transform implements IGLTFExporterExtensionV2 {
|
|
241
240
|
private _recordedTextures;
|
|
@@ -249,7 +248,7 @@ declare module BABYLON {
|
|
|
249
248
|
private _wasUsed;
|
|
250
249
|
constructor();
|
|
251
250
|
dispose(): void;
|
|
252
|
-
/** @
|
|
251
|
+
/** @internal */
|
|
253
252
|
get wasUsed(): boolean;
|
|
254
253
|
postExportTexture?(context: string, textureInfo: BABYLON.GLTF2.ITextureInfo, babylonTexture: Texture): void;
|
|
255
254
|
preExportTextureAsync(context: string, babylonTexture: Texture): Promise<Texture>;
|
|
@@ -263,7 +262,7 @@ declare module BABYLON {
|
|
|
263
262
|
|
|
264
263
|
|
|
265
264
|
/**
|
|
266
|
-
* @
|
|
265
|
+
* @internal
|
|
267
266
|
* Interface to store animation data.
|
|
268
267
|
*/
|
|
269
268
|
export interface _IAnimationData {
|
|
@@ -289,7 +288,7 @@ declare module BABYLON {
|
|
|
289
288
|
inputsMax: number;
|
|
290
289
|
}
|
|
291
290
|
/**
|
|
292
|
-
* @
|
|
291
|
+
* @internal
|
|
293
292
|
*/
|
|
294
293
|
export interface _IAnimationInfo {
|
|
295
294
|
/**
|
|
@@ -306,7 +305,7 @@ declare module BABYLON {
|
|
|
306
305
|
useQuaternion: boolean;
|
|
307
306
|
}
|
|
308
307
|
/**
|
|
309
|
-
* @
|
|
308
|
+
* @internal
|
|
310
309
|
* Utility class for generating glTF animation data from BabylonJS.
|
|
311
310
|
*/
|
|
312
311
|
export class _GLTFAnimation {
|
|
@@ -491,7 +490,7 @@ declare module BABYLON {
|
|
|
491
490
|
|
|
492
491
|
/**
|
|
493
492
|
* Converts Babylon Scene into glTF 2.0.
|
|
494
|
-
* @
|
|
493
|
+
* @internal
|
|
495
494
|
*/
|
|
496
495
|
export class _Exporter {
|
|
497
496
|
/**
|
|
@@ -754,9 +753,7 @@ declare module BABYLON {
|
|
|
754
753
|
*/
|
|
755
754
|
private _getPadding;
|
|
756
755
|
/**
|
|
757
|
-
* @
|
|
758
|
-
* @param dispose
|
|
759
|
-
* @hidden
|
|
756
|
+
* @internal
|
|
760
757
|
*/
|
|
761
758
|
_generateGLBAsync(glTFPrefix: string, dispose?: boolean): Promise<GLTFData>;
|
|
762
759
|
/**
|
|
@@ -859,7 +856,7 @@ declare module BABYLON {
|
|
|
859
856
|
private _createSkinsAsync;
|
|
860
857
|
}
|
|
861
858
|
/**
|
|
862
|
-
* @
|
|
859
|
+
* @internal
|
|
863
860
|
*
|
|
864
861
|
* Stores glTF binary data. If the array buffer byte length is exceeded, it doubles in size dynamically
|
|
865
862
|
*/
|
|
@@ -944,11 +941,11 @@ declare module BABYLON {
|
|
|
944
941
|
}
|
|
945
942
|
|
|
946
943
|
|
|
947
|
-
/** @
|
|
944
|
+
/** @internal */
|
|
948
945
|
export var __IGLTFExporterExtensionV2: number;
|
|
949
946
|
/**
|
|
950
947
|
* Interface for a glTF exporter extension
|
|
951
|
-
* @
|
|
948
|
+
* @internal
|
|
952
949
|
*/
|
|
953
950
|
export interface IGLTFExporterExtensionV2 extends IGLTFExporterExtension, IDisposable {
|
|
954
951
|
/**
|
|
@@ -1012,7 +1009,7 @@ declare module BABYLON {
|
|
|
1012
1009
|
|
|
1013
1010
|
/**
|
|
1014
1011
|
* Utility methods for working with glTF material conversion properties. This class should only be used internally
|
|
1015
|
-
* @
|
|
1012
|
+
* @internal
|
|
1016
1013
|
*/
|
|
1017
1014
|
export class _GLTFMaterialExporter {
|
|
1018
1015
|
/**
|
|
@@ -1263,7 +1260,7 @@ declare module BABYLON {
|
|
|
1263
1260
|
|
|
1264
1261
|
|
|
1265
1262
|
/**
|
|
1266
|
-
* @
|
|
1263
|
+
* @internal
|
|
1267
1264
|
*/
|
|
1268
1265
|
export class _GLTFUtilities {
|
|
1269
1266
|
/**
|
|
@@ -1360,18 +1357,18 @@ declare module BABYLON {
|
|
|
1360
1357
|
|
|
1361
1358
|
|
|
1362
1359
|
|
|
1363
|
-
/** @
|
|
1360
|
+
/** @internal */
|
|
1364
1361
|
export var textureTransformPixelShader: {
|
|
1365
1362
|
name: string;
|
|
1366
1363
|
shader: string;
|
|
1367
1364
|
};
|
|
1368
1365
|
|
|
1369
1366
|
|
|
1370
|
-
/** @
|
|
1367
|
+
/** @internal */
|
|
1371
1368
|
export var __IGLTFExporterExtension: number;
|
|
1372
1369
|
/**
|
|
1373
1370
|
* Interface for extending the exporter
|
|
1374
|
-
* @
|
|
1371
|
+
* @internal
|
|
1375
1372
|
*/
|
|
1376
1373
|
export interface IGLTFExporterExtension {
|
|
1377
1374
|
/**
|
package/babylonjs.serializers.js
CHANGED
|
@@ -540,7 +540,7 @@ var EXT_mesh_gpu_instancing = /** @class */ (function () {
|
|
|
540
540
|
}
|
|
541
541
|
EXT_mesh_gpu_instancing.prototype.dispose = function () { };
|
|
542
542
|
Object.defineProperty(EXT_mesh_gpu_instancing.prototype, "wasUsed", {
|
|
543
|
-
/** @
|
|
543
|
+
/** @internal */
|
|
544
544
|
get: function () {
|
|
545
545
|
return this._wasUsed;
|
|
546
546
|
},
|
|
@@ -683,8 +683,7 @@ var NAME = "KHR_lights_punctual";
|
|
|
683
683
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
684
684
|
var KHR_lights_punctual = /** @class */ (function () {
|
|
685
685
|
/**
|
|
686
|
-
* @
|
|
687
|
-
* @hidden
|
|
686
|
+
* @internal
|
|
688
687
|
*/
|
|
689
688
|
function KHR_lights_punctual(exporter) {
|
|
690
689
|
/** The name of this extension. */
|
|
@@ -695,19 +694,19 @@ var KHR_lights_punctual = /** @class */ (function () {
|
|
|
695
694
|
this.required = false;
|
|
696
695
|
this._exporter = exporter;
|
|
697
696
|
}
|
|
698
|
-
/** @
|
|
697
|
+
/** @internal */
|
|
699
698
|
KHR_lights_punctual.prototype.dispose = function () {
|
|
700
699
|
this._lights = null;
|
|
701
700
|
};
|
|
702
701
|
Object.defineProperty(KHR_lights_punctual.prototype, "wasUsed", {
|
|
703
|
-
/** @
|
|
702
|
+
/** @internal */
|
|
704
703
|
get: function () {
|
|
705
704
|
return !!this._lights;
|
|
706
705
|
},
|
|
707
706
|
enumerable: false,
|
|
708
707
|
configurable: true
|
|
709
708
|
});
|
|
710
|
-
/** @
|
|
709
|
+
/** @internal */
|
|
711
710
|
KHR_lights_punctual.prototype.onExporting = function () {
|
|
712
711
|
this._exporter._glTF.extensions[NAME] = this._lights;
|
|
713
712
|
};
|
|
@@ -879,7 +878,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
879
878
|
|
|
880
879
|
var NAME = "KHR_materials_clearcoat";
|
|
881
880
|
/**
|
|
882
|
-
* @
|
|
881
|
+
* @internal
|
|
883
882
|
*/
|
|
884
883
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
885
884
|
var KHR_materials_clearcoat = /** @class */ (function () {
|
|
@@ -895,7 +894,7 @@ var KHR_materials_clearcoat = /** @class */ (function () {
|
|
|
895
894
|
}
|
|
896
895
|
KHR_materials_clearcoat.prototype.dispose = function () { };
|
|
897
896
|
Object.defineProperty(KHR_materials_clearcoat.prototype, "wasUsed", {
|
|
898
|
-
/** @
|
|
897
|
+
/** @internal */
|
|
899
898
|
get: function () {
|
|
900
899
|
return this._wasUsed;
|
|
901
900
|
},
|
|
@@ -1000,7 +999,7 @@ var KHR_materials_ior = /** @class */ (function () {
|
|
|
1000
999
|
}
|
|
1001
1000
|
KHR_materials_ior.prototype.dispose = function () { };
|
|
1002
1001
|
Object.defineProperty(KHR_materials_ior.prototype, "wasUsed", {
|
|
1003
|
-
/** @
|
|
1002
|
+
/** @internal */
|
|
1004
1003
|
get: function () {
|
|
1005
1004
|
return this._wasUsed;
|
|
1006
1005
|
},
|
|
@@ -1054,7 +1053,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1054
1053
|
|
|
1055
1054
|
var NAME = "KHR_materials_iridescence";
|
|
1056
1055
|
/**
|
|
1057
|
-
* @
|
|
1056
|
+
* @internal
|
|
1058
1057
|
*/
|
|
1059
1058
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1060
1059
|
var KHR_materials_iridescence = /** @class */ (function () {
|
|
@@ -1070,7 +1069,7 @@ var KHR_materials_iridescence = /** @class */ (function () {
|
|
|
1070
1069
|
}
|
|
1071
1070
|
KHR_materials_iridescence.prototype.dispose = function () { };
|
|
1072
1071
|
Object.defineProperty(KHR_materials_iridescence.prototype, "wasUsed", {
|
|
1073
|
-
/** @
|
|
1072
|
+
/** @internal */
|
|
1074
1073
|
get: function () {
|
|
1075
1074
|
return this._wasUsed;
|
|
1076
1075
|
},
|
|
@@ -1145,7 +1144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1145
1144
|
|
|
1146
1145
|
var NAME = "KHR_materials_sheen";
|
|
1147
1146
|
/**
|
|
1148
|
-
* @
|
|
1147
|
+
* @internal
|
|
1149
1148
|
*/
|
|
1150
1149
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1151
1150
|
var KHR_materials_sheen = /** @class */ (function () {
|
|
@@ -1161,7 +1160,7 @@ var KHR_materials_sheen = /** @class */ (function () {
|
|
|
1161
1160
|
}
|
|
1162
1161
|
KHR_materials_sheen.prototype.dispose = function () { };
|
|
1163
1162
|
Object.defineProperty(KHR_materials_sheen.prototype, "wasUsed", {
|
|
1164
|
-
/** @
|
|
1163
|
+
/** @internal */
|
|
1165
1164
|
get: function () {
|
|
1166
1165
|
return this._wasUsed;
|
|
1167
1166
|
},
|
|
@@ -1251,7 +1250,7 @@ var KHR_materials_specular = /** @class */ (function () {
|
|
|
1251
1250
|
}
|
|
1252
1251
|
KHR_materials_specular.prototype.dispose = function () { };
|
|
1253
1252
|
Object.defineProperty(KHR_materials_specular.prototype, "wasUsed", {
|
|
1254
|
-
/** @
|
|
1253
|
+
/** @internal */
|
|
1255
1254
|
get: function () {
|
|
1256
1255
|
return this._wasUsed;
|
|
1257
1256
|
},
|
|
@@ -1353,7 +1352,7 @@ var KHR_materials_transmission = /** @class */ (function () {
|
|
|
1353
1352
|
}
|
|
1354
1353
|
KHR_materials_transmission.prototype.dispose = function () { };
|
|
1355
1354
|
Object.defineProperty(KHR_materials_transmission.prototype, "wasUsed", {
|
|
1356
|
-
/** @
|
|
1355
|
+
/** @internal */
|
|
1357
1356
|
get: function () {
|
|
1358
1357
|
return this._wasUsed;
|
|
1359
1358
|
},
|
|
@@ -1431,7 +1430,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1431
1430
|
|
|
1432
1431
|
var NAME = "KHR_materials_unlit";
|
|
1433
1432
|
/**
|
|
1434
|
-
* @
|
|
1433
|
+
* @internal
|
|
1435
1434
|
*/
|
|
1436
1435
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1437
1436
|
var KHR_materials_unlit = /** @class */ (function () {
|
|
@@ -1445,7 +1444,7 @@ var KHR_materials_unlit = /** @class */ (function () {
|
|
|
1445
1444
|
this._wasUsed = false;
|
|
1446
1445
|
}
|
|
1447
1446
|
Object.defineProperty(KHR_materials_unlit.prototype, "wasUsed", {
|
|
1448
|
-
/** @
|
|
1447
|
+
/** @internal */
|
|
1449
1448
|
get: function () {
|
|
1450
1449
|
return this._wasUsed;
|
|
1451
1450
|
},
|
|
@@ -1515,7 +1514,7 @@ var KHR_materials_volume = /** @class */ (function () {
|
|
|
1515
1514
|
}
|
|
1516
1515
|
KHR_materials_volume.prototype.dispose = function () { };
|
|
1517
1516
|
Object.defineProperty(KHR_materials_volume.prototype, "wasUsed", {
|
|
1518
|
-
/** @
|
|
1517
|
+
/** @internal */
|
|
1519
1518
|
get: function () {
|
|
1520
1519
|
return this._wasUsed;
|
|
1521
1520
|
},
|
|
@@ -1606,7 +1605,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1606
1605
|
var NAME = "KHR_texture_transform";
|
|
1607
1606
|
|
|
1608
1607
|
/**
|
|
1609
|
-
* @
|
|
1608
|
+
* @internal
|
|
1610
1609
|
*/
|
|
1611
1610
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1612
1611
|
var KHR_texture_transform = /** @class */ (function () {
|
|
@@ -1628,7 +1627,7 @@ var KHR_texture_transform = /** @class */ (function () {
|
|
|
1628
1627
|
}
|
|
1629
1628
|
};
|
|
1630
1629
|
Object.defineProperty(KHR_texture_transform.prototype, "wasUsed", {
|
|
1631
|
-
/** @
|
|
1630
|
+
/** @internal */
|
|
1632
1631
|
get: function () {
|
|
1633
1632
|
return this._wasUsed;
|
|
1634
1633
|
},
|
|
@@ -1811,7 +1810,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1811
1810
|
|
|
1812
1811
|
|
|
1813
1812
|
/**
|
|
1814
|
-
* @
|
|
1813
|
+
* @internal
|
|
1815
1814
|
* Enum for handling in tangent and out tangent.
|
|
1816
1815
|
*/
|
|
1817
1816
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -1827,7 +1826,7 @@ var _TangentType;
|
|
|
1827
1826
|
_TangentType[_TangentType["OUTTANGENT"] = 1] = "OUTTANGENT";
|
|
1828
1827
|
})(_TangentType || (_TangentType = {}));
|
|
1829
1828
|
/**
|
|
1830
|
-
* @
|
|
1829
|
+
* @internal
|
|
1831
1830
|
* Utility class for generating glTF animation data from BabylonJS.
|
|
1832
1831
|
*/
|
|
1833
1832
|
var _GLTFAnimation = /** @class */ (function () {
|
|
@@ -2778,7 +2777,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2778
2777
|
|
|
2779
2778
|
/**
|
|
2780
2779
|
* Converts Babylon Scene into glTF 2.0.
|
|
2781
|
-
* @
|
|
2780
|
+
* @internal
|
|
2782
2781
|
*/
|
|
2783
2782
|
var _Exporter = /** @class */ (function () {
|
|
2784
2783
|
/**
|
|
@@ -3640,9 +3639,7 @@ var _Exporter = /** @class */ (function () {
|
|
|
3640
3639
|
return padding;
|
|
3641
3640
|
};
|
|
3642
3641
|
/**
|
|
3643
|
-
* @
|
|
3644
|
-
* @param dispose
|
|
3645
|
-
* @hidden
|
|
3642
|
+
* @internal
|
|
3646
3643
|
*/
|
|
3647
3644
|
_Exporter.prototype._generateGLBAsync = function (glTFPrefix, dispose) {
|
|
3648
3645
|
var _this = this;
|
|
@@ -4550,7 +4547,7 @@ var _Exporter = /** @class */ (function () {
|
|
|
4550
4547
|
}());
|
|
4551
4548
|
|
|
4552
4549
|
/**
|
|
4553
|
-
* @
|
|
4550
|
+
* @internal
|
|
4554
4551
|
*
|
|
4555
4552
|
* Stores glTF binary data. If the array buffer byte length is exceeded, it doubles in size dynamically
|
|
4556
4553
|
*/
|
|
@@ -4801,7 +4798,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4801
4798
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4802
4799
|
/* harmony export */ "__IGLTFExporterExtensionV2": () => (/* binding */ __IGLTFExporterExtensionV2)
|
|
4803
4800
|
/* harmony export */ });
|
|
4804
|
-
/** @
|
|
4801
|
+
/** @internal */
|
|
4805
4802
|
// eslint-disable-next-line no-var, @typescript-eslint/naming-convention
|
|
4806
4803
|
var __IGLTFExporterExtensionV2 = 0; // I am here to allow dts to be created
|
|
4807
4804
|
|
|
@@ -4832,7 +4829,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4832
4829
|
|
|
4833
4830
|
/**
|
|
4834
4831
|
* Utility methods for working with glTF material conversion properties. This class should only be used internally
|
|
4835
|
-
* @
|
|
4832
|
+
* @internal
|
|
4836
4833
|
*/
|
|
4837
4834
|
var _GLTFMaterialExporter = /** @class */ (function () {
|
|
4838
4835
|
function _GLTFMaterialExporter(exporter) {
|
|
@@ -5954,7 +5951,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5954
5951
|
/* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0__);
|
|
5955
5952
|
|
|
5956
5953
|
/**
|
|
5957
|
-
* @
|
|
5954
|
+
* @internal
|
|
5958
5955
|
*/
|
|
5959
5956
|
var _GLTFUtilities = /** @class */ (function () {
|
|
5960
5957
|
function _GLTFUtilities() {
|
|
@@ -6219,7 +6216,7 @@ var name = "textureTransformPixelShader";
|
|
|
6219
6216
|
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}";
|
|
6220
6217
|
// Sideeffect
|
|
6221
6218
|
core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__.ShaderStore.ShadersStore[name] = shader;
|
|
6222
|
-
/** @
|
|
6219
|
+
/** @internal */
|
|
6223
6220
|
var textureTransformPixelShader = { name: name, shader: shader };
|
|
6224
6221
|
|
|
6225
6222
|
|
|
@@ -6235,7 +6232,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6235
6232
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6236
6233
|
/* harmony export */ "__IGLTFExporterExtension": () => (/* binding */ __IGLTFExporterExtension)
|
|
6237
6234
|
/* harmony export */ });
|
|
6238
|
-
/** @
|
|
6235
|
+
/** @internal */
|
|
6239
6236
|
// eslint-disable-next-line no-var, @typescript-eslint/naming-convention
|
|
6240
6237
|
var __IGLTFExporterExtension = 0; // I am here to allow dts to be created
|
|
6241
6238
|
|