@galacean/effects-threejs 2.1.0-alpha.5 → 2.1.0-alpha.7
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/dist/index.js +19258 -17039
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +19256 -17036
- package/dist/index.mjs.map +1 -1
- package/dist/three-display-object.d.ts +4 -3
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { EventSystem, SceneLoadOptions, Renderer, Composition
|
|
1
|
+
import type { EventSystem, SceneLoadOptions, Renderer, Composition } from '@galacean/effects-core';
|
|
2
|
+
import { Scene } from '@galacean/effects-core';
|
|
2
3
|
import { AssetManager } from '@galacean/effects-core';
|
|
3
4
|
import * as THREE from 'three';
|
|
4
5
|
import { ThreeComposition } from './three-composition';
|
|
@@ -45,8 +46,8 @@ export declare class ThreeDisplayObject extends THREE.Group {
|
|
|
45
46
|
* @param options - 加载可选参数
|
|
46
47
|
* @returns
|
|
47
48
|
*/
|
|
48
|
-
loadScene(scene:
|
|
49
|
-
loadScene(scene:
|
|
49
|
+
loadScene(scene: Scene.LoadType, options?: SceneLoadOptions): Promise<Composition>;
|
|
50
|
+
loadScene(scene: Scene.LoadType[], options?: SceneLoadOptions): Promise<Composition[]>;
|
|
50
51
|
pause(): void;
|
|
51
52
|
resume(): void;
|
|
52
53
|
private createComposition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-threejs",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.7",
|
|
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.1.0-alpha.
|
|
46
|
+
"@galacean/effects-core": "2.1.0-alpha.7"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"three": "^0.149.0",
|