@galacean/engine-loader 1.0.0-beta.3 → 1.0.0-beta.5
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/dist/main.js +19 -1
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +19 -1
- package/dist/module.js +19 -1
- package/dist/module.js.map +1 -1
- package/package.json +5 -5
- package/types/gltf/GLTFResource.d.ts +3 -0
- package/types/gltf/extensions/KHR_materials_ior.d.ts +1 -0
- package/types/gltf/extensions/index.d.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -2327,7 +2327,9 @@ var GLTFValidator = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
2327
2327
|
return _this;
|
|
2328
2328
|
}
|
|
2329
2329
|
var _proto = GLTFResource.prototype;
|
|
2330
|
-
|
|
2330
|
+
/**
|
|
2331
|
+
* @internal
|
|
2332
|
+
*/ _proto._onDestroy = function _onDestroy() {
|
|
2331
2333
|
EngineObject.prototype._onDestroy.call(this);
|
|
2332
2334
|
this.defaultSceneRoot.destroy();
|
|
2333
2335
|
this.textures = null;
|
|
@@ -4677,6 +4679,22 @@ KHR_materials_clearcoat = __decorate([
|
|
|
4677
4679
|
registerGLTFExtension("KHR_materials_clearcoat", exports.GLTFExtensionMode.AdditiveParse)
|
|
4678
4680
|
], KHR_materials_clearcoat);
|
|
4679
4681
|
|
|
4682
|
+
var KHR_materials_ior = /*#__PURE__*/ function(GLTFExtensionParser) {
|
|
4683
|
+
_inherits(KHR_materials_ior, GLTFExtensionParser);
|
|
4684
|
+
function KHR_materials_ior() {
|
|
4685
|
+
return GLTFExtensionParser.apply(this, arguments);
|
|
4686
|
+
}
|
|
4687
|
+
var _proto = KHR_materials_ior.prototype;
|
|
4688
|
+
_proto.additiveParse = function additiveParse(context, material, schema) {
|
|
4689
|
+
var _schema_ior = schema.ior, ior = _schema_ior === void 0 ? 1.5 : _schema_ior;
|
|
4690
|
+
material.ior = ior;
|
|
4691
|
+
};
|
|
4692
|
+
return KHR_materials_ior;
|
|
4693
|
+
}(GLTFExtensionParser);
|
|
4694
|
+
KHR_materials_ior = __decorate([
|
|
4695
|
+
registerGLTFExtension("KHR_materials_ior", exports.GLTFExtensionMode.AdditiveParse)
|
|
4696
|
+
], KHR_materials_ior);
|
|
4697
|
+
|
|
4680
4698
|
var KHR_materials_pbrSpecularGlossiness = /*#__PURE__*/ function(GLTFExtensionParser) {
|
|
4681
4699
|
_inherits(KHR_materials_pbrSpecularGlossiness, GLTFExtensionParser);
|
|
4682
4700
|
function KHR_materials_pbrSpecularGlossiness() {
|