@galacean/effects-threejs 2.3.0-beta.2 → 2.3.0

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.
@@ -1,5 +1,4 @@
1
- import type { EventSystem, SceneLoadOptions, Renderer, Composition } from '@galacean/effects-core';
2
- import { Scene } from '@galacean/effects-core';
1
+ import type { EventSystem, SceneLoadOptions, Renderer, Composition, Scene } from '@galacean/effects-core';
3
2
  import { AssetManager } from '@galacean/effects-core';
4
3
  import * as THREE from 'three';
5
4
  import { ThreeComposition } from './three-composition';
@@ -31,6 +30,7 @@ export declare class ThreeDisplayObject extends THREE.Group {
31
30
  readonly width: number;
32
31
  readonly height: number;
33
32
  private baseCompositionIndex;
33
+ private assetService;
34
34
  /**
35
35
  *
36
36
  * @param context
@@ -48,9 +48,9 @@ export declare class ThreeDisplayObject extends THREE.Group {
48
48
  */
49
49
  loadScene(scene: Scene.LoadType, options?: SceneLoadOptions): Promise<Composition>;
50
50
  loadScene(scene: Scene.LoadType[], options?: SceneLoadOptions): Promise<Composition[]>;
51
+ private createComposition;
51
52
  pause(): void;
52
53
  resume(): void;
53
- private createComposition;
54
54
  /**
55
55
  *
56
56
  * @param delta
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-threejs",
3
- "version": "2.3.0-beta.2",
3
+ "version": "2.3.0",
4
4
  "description": "Galacean Effects runtime threejs plugin for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "registry": "https://registry.npmjs.org"
44
44
  },
45
45
  "dependencies": {
46
- "@galacean/effects-core": "2.3.0-beta.2"
46
+ "@galacean/effects-core": "2.3.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "three": "^0.149.0",