@galacean/effects-threejs 2.1.0-alpha.1 → 2.1.0-alpha.10

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.
@@ -48,10 +48,6 @@ export declare class ThreeComposition extends Composition {
48
48
  */
49
49
  static shape: Record<string, number>;
50
50
  constructor(props: ThreeCompositionProps, scene: Scene);
51
- /**
52
- * 更新 video texture 数据
53
- */
54
- updateVideo(): void;
55
51
  prepareRender(): void;
56
52
  /**
57
53
  * 获取 render 参数
@@ -1,4 +1,5 @@
1
- import type { EventSystem, SceneLoadOptions, Renderer, Composition, SceneLoadType } from '@galacean/effects-core';
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: SceneLoadType, options?: SceneLoadOptions): Promise<Composition>;
49
- loadScene(scene: SceneLoadType[], options?: SceneLoadOptions): Promise<Composition[]>;
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;
@@ -32,11 +32,6 @@ export declare class ThreeTexture extends Texture {
32
32
  * @param options - 纹理选项
33
33
  */
34
34
  updateSource(options: TextureSourceOptions): void;
35
- /**
36
- * 开始更新视频数据
37
- *
38
- */
39
- startVideo(): Promise<void>;
40
35
  /**
41
36
  * 组装纹理选项
42
37
  * @param options - 纹理选项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-threejs",
3
- "version": "2.1.0-alpha.1",
3
+ "version": "2.1.0-alpha.10",
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.1"
46
+ "@galacean/effects-core": "2.1.0-alpha.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "three": "^0.149.0",