@galacean/engine-loader 1.3.24 → 1.4.0-alpha.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/dist/main.js +863 -902
- package/dist/main.js.map +1 -1
- package/dist/module.js +738 -786
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
- package/types/gltf/extensions/GLTFExtensionSchema.d.ts +17 -6
- package/types/gltf/extensions/KHR_materials_iridescence.d.ts +1 -0
- package/types/gltf/extensions/index.d.ts +1 -0
- package/dist/miniprogram.js +0 -7074
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-loader",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-alpha.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"types/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@galacean/engine-core": "1.
|
|
22
|
-
"@galacean/engine-
|
|
23
|
-
"@galacean/engine-
|
|
21
|
+
"@galacean/engine-core": "1.4.0-alpha.0",
|
|
22
|
+
"@galacean/engine-rhi-webgl": "1.4.0-alpha.0",
|
|
23
|
+
"@galacean/engine-math": "1.4.0-alpha.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"b:types": "tsc"
|
|
@@ -22,11 +22,11 @@ export interface IKHRLightsPunctual {
|
|
|
22
22
|
* Interfaces from the KHR_materials_clearcoat extension
|
|
23
23
|
*/
|
|
24
24
|
export interface IKHRMaterialsClearcoat {
|
|
25
|
-
clearcoatFactor
|
|
26
|
-
clearcoatTexture
|
|
27
|
-
clearcoatRoughnessFactor
|
|
28
|
-
clearcoatRoughnessTexture
|
|
29
|
-
clearcoatNormalTexture
|
|
25
|
+
clearcoatFactor?: number;
|
|
26
|
+
clearcoatTexture?: ITextureInfo;
|
|
27
|
+
clearcoatRoughnessFactor?: number;
|
|
28
|
+
clearcoatRoughnessTexture?: ITextureInfo;
|
|
29
|
+
clearcoatNormalTexture?: IMaterialNormalTextureInfo;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Interfaces from the KHR_materials_ior extension
|
|
@@ -154,4 +154,15 @@ export interface IGalaceanAnimation {
|
|
|
154
154
|
parameter: any;
|
|
155
155
|
}[];
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
/**
|
|
158
|
+
* Interfaces from the KHR_materials_iridescence extension
|
|
159
|
+
*/
|
|
160
|
+
export interface IKHRMaterialsIridescence {
|
|
161
|
+
iridescenceFactor?: number;
|
|
162
|
+
iridescenceTexture?: ITextureInfo;
|
|
163
|
+
iridescenceIor?: number;
|
|
164
|
+
iridescenceThicknessMinimum?: number;
|
|
165
|
+
iridescenceThicknessMaximum?: number;
|
|
166
|
+
iridescenceThicknessTexture?: ITextureInfo;
|
|
167
|
+
}
|
|
168
|
+
export type GLTFExtensionSchema = IKHRLightsPunctual_Light | IKHRMaterialsClearcoat | IKHRMaterialsIor | IKHRMaterialsUnlit | IKHRMaterialsPbrSpecularGlossiness | IKHRMaterialsSheen | IKHRMaterialsSpecular | IKHRMaterialsTransmission | IKHRMaterialsTranslucency | IKHRMaterialVariants_Mapping | IKHRMaterialVariants_Variants | IKHRMaterialsAnisotropy | IKHRTextureBasisU | IKHRTextureTransform | IKHRXmp | IKHRXmp_Node | IGalaceanAnimation | IKHRMaterialsIridescence | Object;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -15,6 +15,7 @@ import "./GALACEAN_materials_remap";
|
|
|
15
15
|
import "./GALACEAN_animation_event";
|
|
16
16
|
import "./EXT_meshopt_compression";
|
|
17
17
|
import "./KHR_materials_anisotropy";
|
|
18
|
+
import "./KHR_materials_iridescence";
|
|
18
19
|
import "./EXT_texture_webp";
|
|
19
20
|
export { GLTFExtensionParser, GLTFExtensionMode } from "./GLTFExtensionParser";
|
|
20
21
|
export * from "./GLTFExtensionSchema";
|