@galacean/engine-loader 0.9.0-beta.80 → 0.9.0-beta.82

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.0-beta.80",
3
+ "version": "0.9.0-beta.82",
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-draco": "0.9.0-beta.80",
19
- "@galacean/engine-math": "0.9.0-beta.80",
20
- "@galacean/engine-rhi-webgl": "0.9.0-beta.80",
21
- "@galacean/engine-core": "0.9.0-beta.80"
18
+ "@galacean/engine-core": "0.9.0-beta.82",
19
+ "@galacean/engine-draco": "0.9.0-beta.82",
20
+ "@galacean/engine-math": "0.9.0-beta.82",
21
+ "@galacean/engine-rhi-webgl": "0.9.0-beta.82"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -1,6 +1,6 @@
1
- import { AssetPromise, BlendShape, Buffer, ContentRestorer, ModelMesh, Texture2D } from "@oasis-engine/core";
2
- import { RequestConfig } from "@oasis-engine/core/types/asset/request";
3
- import { Vector2 } from "@oasis-engine/math";
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
  /**
@@ -7,6 +7,9 @@ export declare class GLTFLoader extends Loader<GLTFResource> {
7
7
  * GlTF loader params.
8
8
  */
9
9
  export interface GLTFParams {
10
- /** Keep raw mesh data for glTF parser, default is false. */
10
+ /**
11
+ * @beta Now only contains vertex information, need to improve.
12
+ * Keep raw mesh data for glTF parser, default is false.
13
+ */
11
14
  keepMeshData: boolean;
12
15
  }
@@ -1,5 +1,5 @@
1
- import { AssetPromise, ContentRestorer, Texture2D } from "@oasis-engine/core";
2
- import { RequestConfig } from "@oasis-engine/core/types/asset/request";
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 "@oasis-engine/core";
2
- import { RequestConfig } from "@oasis-engine/core/types/asset/request";
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 "@oasis-engine/core";
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,7 +1,7 @@
1
1
  /**
2
2
  * Module for glTF 2.0 Interface
3
3
  */
4
- import { MeshTopology } from "@oasis-engine/core";
4
+ import { MeshTopology } from "@galacean/engine-core";
5
5
  /**
6
6
  * The datatype of the components in the attribute
7
7
  */
@@ -1,4 +1,4 @@
1
- import { EngineObject } from "@oasis-engine/core";
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";
@@ -134,7 +134,7 @@ export interface IKHRXmp {
134
134
  export interface IKHRXmp_Node {
135
135
  packet: number;
136
136
  }
137
- export interface IOasisMaterialRemap {
137
+ export interface IGalaceanMaterialRemap {
138
138
  refId: string;
139
139
  key?: string;
140
140
  isClone?: boolean;
@@ -1,4 +1,4 @@
1
- import { AnimationClip, AssetPromise } from "@oasis-engine/core";
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 } from "@oasis-engine/core";
1
+ import { AssetPromise } from "@galacean/engine-core";
2
2
  import { GLTFParser } from "./GLTFParser";
3
3
  import { GLTFParserContext } from "./GLTFParserContext";
4
4
  export declare class GLTFBufferParser extends GLTFParser {
@@ -1,4 +1,4 @@
1
- import { AssetPromise, Material, PBRMaterial, PBRSpecularMaterial, UnlitMaterial } from "@oasis-engine/core";
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 "@oasis-engine/core";
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 "@oasis-engine/core";
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 "@oasis-engine/core";
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 "@oasis-engine/core";
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("@oasis-engine/core").AssetPromise<Entity>;
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 "@oasis-engine/core";
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 {
@@ -1,4 +1,4 @@
1
- import { AssetPromise } from "@oasis-engine/core";
1
+ import { AssetPromise } from "@galacean/engine-core";
2
2
  import { GLTFParser } from "./GLTFParser";
3
3
  import { GLTFParserContext } from "./GLTFParserContext";
4
4
  export declare class GLTFValidator extends GLTFParser {