@galacean/engine-loader 0.9.12 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-loader",
3
- "version": "0.9.12",
3
+ "version": "0.9.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-core": "0.9.12",
19
- "@galacean/engine-math": "0.9.12",
20
- "@galacean/engine-draco": "0.9.12",
21
- "@galacean/engine-rhi-webgl": "0.9.12"
18
+ "@galacean/engine-core": "0.9.13",
19
+ "@galacean/engine-draco": "0.9.13",
20
+ "@galacean/engine-math": "0.9.13",
21
+ "@galacean/engine-rhi-webgl": "0.9.13"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -1,8 +1,8 @@
1
- import { AnimationClip, Camera, Engine, EngineObject, Entity, Light, Material, ModelMesh, Renderer, Skin, Texture2D } from "@galacean/engine-core";
1
+ import { AnimationClip, Camera, Engine, Entity, Light, Material, ModelMesh, RefObject, Renderer, Skin, Texture2D } from "@galacean/engine-core";
2
2
  /**
3
3
  * Product after GLTF parser, usually, `defaultSceneRoot` is only needed to use.
4
4
  */
5
- export declare class GLTFResource extends EngineObject {
5
+ export declare class GLTFResource extends RefObject {
6
6
  /** GLTF file url. */
7
7
  url: string;
8
8
  /** Texture2D after TextureParser. */
@@ -33,7 +33,7 @@ export declare class GLTFResource extends EngineObject {
33
33
  }[];
34
34
  constructor(engine: Engine, url: string);
35
35
  /**
36
- * @override
36
+ * @internal
37
37
  */
38
- destroy(): void;
38
+ _onDestroy(): void;
39
39
  }