@galacean/engine-loader 0.9.0-beta.80 → 0.9.0-beta.81
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 +64 -49
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +64 -49
- package/dist/module.js +64 -49
- package/dist/module.js.map +1 -1
- package/package.json +5 -5
- package/types/GLTFContentRestorer.d.ts +3 -3
- package/types/Texture2DContentRestorer.d.ts +2 -2
- package/types/TextureCubeContentRestorer.d.ts +2 -2
- package/types/gltf/GLTFPipeline.d.ts +1 -1
- package/types/gltf/GLTFSchema.d.ts +1 -1
- package/types/gltf/extensions/GLTFExtensionParser.d.ts +1 -1
- package/types/gltf/extensions/GLTFExtensionSchema.d.ts +1 -1
- package/types/gltf/parser/GLTFAnimationParser.d.ts +1 -1
- package/types/gltf/parser/GLTFBufferParser.d.ts +1 -1
- package/types/gltf/parser/GLTFMaterialParser.d.ts +1 -1
- package/types/gltf/parser/GLTFMeshParser.d.ts +1 -1
- package/types/gltf/parser/GLTFParser.d.ts +1 -1
- package/types/gltf/parser/GLTFParserContext.d.ts +1 -1
- package/types/gltf/parser/GLTFSceneParser.d.ts +2 -2
- package/types/gltf/parser/GLTFTextureParser.d.ts +1 -1
- package/types/gltf/parser/GLTFValidator.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-loader",
|
|
3
|
-
"version": "0.9.0-beta.
|
|
3
|
+
"version": "0.9.0-beta.81",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"types/**/*"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@galacean/engine-
|
|
19
|
-
"@galacean/engine-
|
|
20
|
-
"@galacean/engine-
|
|
21
|
-
"@galacean/engine-
|
|
18
|
+
"@galacean/engine-core": "0.9.0-beta.81",
|
|
19
|
+
"@galacean/engine-draco": "0.9.0-beta.81",
|
|
20
|
+
"@galacean/engine-math": "0.9.0-beta.81",
|
|
21
|
+
"@galacean/engine-rhi-webgl": "0.9.0-beta.81"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AssetPromise, BlendShape, Buffer, ContentRestorer, ModelMesh, Texture2D } from "@
|
|
2
|
-
import { RequestConfig } from "@
|
|
3
|
-
import { Vector2 } from "@
|
|
1
|
+
import { AssetPromise, BlendShape, Buffer, ContentRestorer, ModelMesh, Texture2D } from "@galacean/engine-core";
|
|
2
|
+
import { RequestConfig } from "@galacean/engine-core/types/asset/request";
|
|
3
|
+
import { Vector2 } from "@galacean/engine-math";
|
|
4
4
|
import { GLTFResource } from "./gltf/GLTFResource";
|
|
5
5
|
import { IBufferView } from "./gltf/GLTFSchema";
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AssetPromise, ContentRestorer, Texture2D } from "@
|
|
2
|
-
import { RequestConfig } from "@
|
|
1
|
+
import { AssetPromise, ContentRestorer, Texture2D } from "@galacean/engine-core";
|
|
2
|
+
import { RequestConfig } from "@galacean/engine-core/types/asset/request";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AssetPromise, ContentRestorer, TextureCube } from "@
|
|
2
|
-
import { RequestConfig } from "@
|
|
1
|
+
import { AssetPromise, ContentRestorer, TextureCube } from "@galacean/engine-core";
|
|
2
|
+
import { RequestConfig } from "@galacean/engine-core/types/asset/request";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetPromise } from "@
|
|
1
|
+
import { AssetPromise } from "@galacean/engine-core";
|
|
2
2
|
import { GLTFResource } from "./GLTFResource";
|
|
3
3
|
import { GLTFParser } from "./parser/GLTFParser";
|
|
4
4
|
import { GLTFParserContext } from "./parser/GLTFParserContext";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EngineObject } from "@
|
|
1
|
+
import { EngineObject } from "@galacean/engine-core";
|
|
2
2
|
import { GLTFExtensionOwnerSchema } from "../GLTFSchema";
|
|
3
3
|
import { GLTFParserContext } from "../parser/GLTFParserContext";
|
|
4
4
|
import { GLTFExtensionSchema } from "./GLTFExtensionSchema";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationClip, AssetPromise } from "@
|
|
1
|
+
import { AnimationClip, AssetPromise } from "@galacean/engine-core";
|
|
2
2
|
import { IAnimation } from "../GLTFSchema";
|
|
3
3
|
import { GLTFParser } from "./GLTFParser";
|
|
4
4
|
import { GLTFParserContext } from "./GLTFParserContext";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetPromise, Material, PBRMaterial, PBRSpecularMaterial, UnlitMaterial } from "@
|
|
1
|
+
import { AssetPromise, Material, PBRMaterial, PBRSpecularMaterial, UnlitMaterial } from "@galacean/engine-core";
|
|
2
2
|
import { IMaterial, ITextureInfo } from "../GLTFSchema";
|
|
3
3
|
import { GLTFParser } from "./GLTFParser";
|
|
4
4
|
import { GLTFParserContext } from "./GLTFParserContext";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetPromise, ModelMesh, TypedArray } from "@
|
|
1
|
+
import { AssetPromise, ModelMesh, TypedArray } from "@galacean/engine-core";
|
|
2
2
|
import { ModelMeshRestoreInfo } from "../../GLTFContentRestorer";
|
|
3
3
|
import { IGLTF, IMesh, IMeshPrimitive } from "../GLTFSchema";
|
|
4
4
|
import { GLTFParser } from "./GLTFParser";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationClip, AssetPromise, EngineObject, Material, Mesh } from "@
|
|
1
|
+
import { AnimationClip, AssetPromise, EngineObject, Material, Mesh } from "@galacean/engine-core";
|
|
2
2
|
import { GLTFExtensionMode, GLTFExtensionParser } from "../extensions/GLTFExtensionParser";
|
|
3
3
|
import { GLTFExtensionOwnerSchema } from "../GLTFSchema";
|
|
4
4
|
import { GLTFParserContext } from "./GLTFParserContext";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationClip, AssetPromise, Buffer, Entity, Material, ModelMesh, Texture2D, TypedArray } from "@
|
|
1
|
+
import { AnimationClip, AssetPromise, Buffer, Entity, Material, ModelMesh, Texture2D, TypedArray } from "@galacean/engine-core";
|
|
2
2
|
import { BufferDataRestoreInfo, GLTFContentRestorer } from "../../GLTFContentRestorer";
|
|
3
3
|
import { GLTFResource } from "../GLTFResource";
|
|
4
4
|
import { IGLTF } from "../GLTFSchema";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Entity } from "@
|
|
1
|
+
import { Entity } from "@galacean/engine-core";
|
|
2
2
|
import { GLTFParser } from "./GLTFParser";
|
|
3
3
|
import { GLTFParserContext } from "./GLTFParserContext";
|
|
4
4
|
export declare class GLTFSceneParser extends GLTFParser {
|
|
5
5
|
private static _defaultMaterial;
|
|
6
6
|
private static _getDefaultMaterial;
|
|
7
|
-
parse(context: GLTFParserContext): import("@
|
|
7
|
+
parse(context: GLTFParserContext): import("@galacean/engine-core").AssetPromise<Entity>;
|
|
8
8
|
private _createCamera;
|
|
9
9
|
private _createRenderer;
|
|
10
10
|
private _createAnimator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetPromise, Texture2D } from "@
|
|
1
|
+
import { AssetPromise, Texture2D } from "@galacean/engine-core";
|
|
2
2
|
import { GLTFParser } from "./GLTFParser";
|
|
3
3
|
import { GLTFParserContext } from ".";
|
|
4
4
|
export declare class GLTFTextureParser extends GLTFParser {
|