@galacean/effects-core 2.8.0-alpha.5 → 2.8.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.
@@ -66,7 +66,6 @@ export declare class AssetManager implements Disposable {
66
66
  private processImages;
67
67
  private onPluginSceneLoadStart;
68
68
  private processTextures;
69
- private processVideoURL;
70
69
  private loadJSON;
71
70
  private loadBins;
72
71
  private assignImagesToAssets;
@@ -1,9 +1,9 @@
1
1
  import type { Ray } from '@galacean/effects-math/es/core/ray';
2
2
  import type * as spec from '@galacean/effects-specification';
3
- import { Component } from './components';
4
- import type { CompositionHitTestOptions } from './composition';
5
- import type { Region, TrackAsset } from './plugins';
6
- import { VFXItem } from './vfx-item';
3
+ import type { CompositionHitTestOptions } from '../composition';
4
+ import type { Region, TrackAsset } from '../plugins';
5
+ import { VFXItem } from '../vfx-item';
6
+ import { Component } from './component';
7
7
  export interface SceneBinding {
8
8
  key: TrackAsset;
9
9
  value: VFXItem;
@@ -1,6 +1,7 @@
1
1
  export * from './animator';
2
2
  export * from './renderer-component';
3
3
  export * from './component';
4
+ export * from './composition-component';
4
5
  export * from './effect-component';
5
6
  export * from './position-constraint';
6
7
  export * from './post-process-volume';
@@ -2,7 +2,8 @@ import * as spec from '@galacean/effects-specification';
2
2
  import type { Ray } from '@galacean/effects-math/es/core/ray';
3
3
  import type { Matrix4 } from '@galacean/effects-math/es/core/matrix4';
4
4
  import { Camera } from './camera';
5
- import { CompositionComponent } from './comp-vfx-item';
5
+ import type { Component, PostProcessVolume } from './components';
6
+ import { CompositionComponent } from './components';
6
7
  import type { EventSystem, Region } from './plugins';
7
8
  import type { Renderer } from './render';
8
9
  import { RenderFrame } from './render';
@@ -12,7 +13,6 @@ import type { Constructor, Disposable, LostHandler } from './utils';
12
13
  import { VFXItem } from './vfx-item';
13
14
  import type { CompositionEvent } from './events';
14
15
  import { EventEmitter } from './events';
15
- import type { Component, PostProcessVolume } from './components';
16
16
  import { SceneTicking } from './composition/scene-ticking';
17
17
  /**
18
18
  * 合成统计信息
@@ -107,5 +107,5 @@ export declare function loadVideo(url: string | MediaProvider): Promise<HTMLVide
107
107
  * @param loadFn
108
108
  * @returns
109
109
  */
110
- export declare function loadMedia(url: string | string[], loadFn: (url: string) => Promise<HTMLImageElement | HTMLVideoElement>): Promise<HTMLVideoElement | HTMLImageElement>;
110
+ export declare function loadMedia(url: string | string[], loadFn: (url: string) => Promise<HTMLImageElement | HTMLVideoElement>): Promise<HTMLImageElement | HTMLVideoElement>;
111
111
  export {};
package/dist/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from './asset-manager';
7
7
  export * from './asset-service';
8
8
  export * from './camera';
9
9
  export * from './canvas-pool';
10
- export * from './comp-vfx-item';
11
10
  export * from './components';
12
11
  export * from './animation';
13
12
  export * from './composition';