run-scene-v2 0.1.152 → 0.1.154

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": "run-scene-v2",
3
- "version": "0.1.152",
3
+ "version": "0.1.154",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "dependencies": {
package/types/index.d.ts CHANGED
@@ -2,6 +2,8 @@ import { TransformControls } from "run-scene-core/examples/jsm/controls/Transfor
2
2
  import RunScene, { Utils, ModelEx, MaterialEx, TextureEx, Bus } from "./src/RunScene";
3
3
  import Three from "./src/Libs/Three";
4
4
  export { textureAdapt } from "./src/Texture/utils/TextureAdapt";
5
+ export { default as InstanceModel } from "./src/ModelEx/ModelExDef/InstanceModel";
6
+ export { default as InstanceHelper } from "./src/ModelEx/ModelExDef/InstanceHelper";
5
7
  declare const _default: {
6
8
  RunScene: typeof RunScene;
7
9
  Utils: typeof Utils;
@@ -323,7 +323,7 @@ export default class OptionCb extends BaseEx {
323
323
  isLock?: boolean;
324
324
  materialInstanceModelMap?: {
325
325
  [materialId: string]: {
326
- instanceModel: import("../ModelEx/ModelExDef/InstanceModel").default;
326
+ instanceModel: import("../..").InstanceModel;
327
327
  isAwaitAdd?: boolean;
328
328
  };
329
329
  };
@@ -1,4 +1,4 @@
1
- export declare const version = "0.1.152";
1
+ export declare const version = "0.1.154";
2
2
  export declare const versionStr: string;
3
3
  import "./constStr";
4
4
  import "./constAssets";
@@ -10,7 +10,7 @@ import Events from "./Events/Events";
10
10
  import Exporter from "./Exporter/Exporter";
11
11
  import FileEx from "./FileEx/FileEx";
12
12
  import GlobalConfig from "./GlobalConfig";
13
- import GraphManager from './Graph/GraphManager';
13
+ import GraphManager from "./Graph/GraphManager";
14
14
  import HelperEx from "./Helper/HelperEx";
15
15
  import LightEx from "./Lights/LightEx";
16
16
  import { ParseType } from "./Loaderer/GLTFLoader/LoaderGltf";
@@ -35,8 +35,8 @@ import TextureEx from "./Texture/TextureEx";
35
35
  import TimeLine from "./TimeLine/TimeLine";
36
36
  import Undo from "./Undo/Undo";
37
37
  import Unique from "./Unique/Unique";
38
- import Config from './Config/Config';
39
- import Api from './Api/Api';
38
+ import Config from "./Config/Config";
39
+ import Api from "./Api/Api";
40
40
  import SpecialEffect from "./SpecialEffect/SpecialEffect";
41
41
  export * as Ex from "./Ex/Ex";
42
42
  export * from "./Libs/Bus";