@galacean/engine-loader 1.1.0-beta.12 → 1.1.0-beta.13
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 +9 -6
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +9 -6
- package/dist/module.js +9 -6
- package/dist/module.js.map +1 -1
- package/package.json +5 -5
- package/types/GLTFLoader.d.ts +1 -0
- package/types/gltf/parser/GLTFParserContext.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-loader",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.13",
|
|
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-math": "1.1.0-beta.13",
|
|
19
|
+
"@galacean/engine-rhi-webgl": "1.1.0-beta.13",
|
|
20
|
+
"@galacean/engine-draco": "1.1.0-beta.13",
|
|
21
|
+
"@galacean/engine-core": "1.1.0-beta.13"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
package/types/GLTFLoader.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Buffer, Entity, ResourceManager, TypedArray } from "@galacean/engine-core";
|
|
2
2
|
import { BufferDataRestoreInfo, GLTFContentRestorer } from "../../GLTFContentRestorer";
|
|
3
|
+
import { GLTFParams } from "../../GLTFLoader";
|
|
3
4
|
import { GLTFResource } from "../GLTFResource";
|
|
4
5
|
import type { IGLTF } from "../GLTFSchema";
|
|
5
6
|
import { GLTFParser } from "./GLTFParser";
|
|
@@ -9,7 +10,7 @@ import { GLTFParser } from "./GLTFParser";
|
|
|
9
10
|
export declare class GLTFParserContext {
|
|
10
11
|
glTFResource: GLTFResource;
|
|
11
12
|
resourceManager: ResourceManager;
|
|
12
|
-
|
|
13
|
+
params: GLTFParams;
|
|
13
14
|
private static readonly _parsers;
|
|
14
15
|
static addParser(parserType: GLTFParserType, parser: GLTFParser): void;
|
|
15
16
|
glTF: IGLTF;
|
|
@@ -17,7 +18,7 @@ export declare class GLTFParserContext {
|
|
|
17
18
|
contentRestorer: GLTFContentRestorer;
|
|
18
19
|
buffers?: ArrayBuffer[];
|
|
19
20
|
private _resourceCache;
|
|
20
|
-
constructor(glTFResource: GLTFResource, resourceManager: ResourceManager,
|
|
21
|
+
constructor(glTFResource: GLTFResource, resourceManager: ResourceManager, params: GLTFParams);
|
|
21
22
|
get<T>(type: GLTFParserType.Entity, index: number): Entity;
|
|
22
23
|
get<T>(type: GLTFParserType.Entity): Entity[];
|
|
23
24
|
get<T>(type: GLTFParserType.Schema): Promise<T>;
|