lythreeframe 1.2.12 → 1.2.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.
@@ -985,6 +985,9 @@ class AssetManager {
985
985
  get LoadingManager() {
986
986
  return this.loadingManager;
987
987
  }
988
+ async init() {
989
+ return;
990
+ }
988
991
  setupDracoLoader(dracoPath) {
989
992
  if (!this.dracoLoader) {
990
993
  this.dracoLoader = new Addons_js.DRACOLoader(this.loadingManager);
@@ -983,6 +983,9 @@ class AssetManager {
983
983
  get LoadingManager() {
984
984
  return this.loadingManager;
985
985
  }
986
+ async init() {
987
+ return;
988
+ }
986
989
  setupDracoLoader(dracoPath) {
987
990
  if (!this.dracoLoader) {
988
991
  this.dracoLoader = new DRACOLoader(this.loadingManager);
@@ -17,6 +17,7 @@ export declare class AssetManager {
17
17
  protected app: ThreeJsApp;
18
18
  constructor(app: ThreeJsApp);
19
19
  get LoadingManager(): LoadingManager;
20
+ init(): Promise<void>;
20
21
  setupDracoLoader(dracoPath: string): void;
21
22
  convertThreeObjectToLYObject(parentLYComponent: SceneComponent, threejsObject: any): SceneComponent | null;
22
23
  collectResourcesAndReferences(object: Object3D): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lythreeframe",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "Three.js 封装",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",