@galacean/effects-core 2.2.0-alpha.0 → 2.2.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.
- package/dist/asset-manager.d.ts +0 -5
- package/dist/config.d.ts +0 -1
- package/dist/downloader.d.ts +4 -16
- package/dist/index.js +49 -139
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -137
- package/dist/index.mjs.map +1 -1
- package/dist/scene.d.ts +1 -1
- package/dist/vfx-item.d.ts +1 -2
- package/package.json +1 -1
package/dist/scene.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type * as spec from '@galacean/effects-specification';
|
|
|
2
2
|
import type { Texture } from './texture';
|
|
3
3
|
import type { PluginSystem } from './plugin-system';
|
|
4
4
|
import type { PickEnum } from './utils';
|
|
5
|
-
export type ImageLike = spec.HTMLImageLike | ArrayBuffer | Texture
|
|
5
|
+
export type ImageLike = spec.HTMLImageLike | ArrayBuffer | Texture;
|
|
6
6
|
export type SceneRenderLevel = PickEnum<spec.RenderLevel, spec.RenderLevel.A | spec.RenderLevel.B | spec.RenderLevel.S>;
|
|
7
7
|
/**
|
|
8
8
|
* 场景类型
|
package/dist/vfx-item.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export type VFXItemProps = spec.Item & {
|
|
|
17
17
|
items: VFXItemProps[];
|
|
18
18
|
startTime: number;
|
|
19
19
|
relative?: boolean;
|
|
20
|
-
listIndex?: number;
|
|
21
20
|
refId?: string;
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
@@ -198,7 +197,7 @@ export declare class VFXItem extends EffectsObject implements Disposable {
|
|
|
198
197
|
getSpeed(): number;
|
|
199
198
|
/**
|
|
200
199
|
* 添加组件
|
|
201
|
-
* @param classConstructor -
|
|
200
|
+
* @param classConstructor - 要添加的组件
|
|
202
201
|
*/
|
|
203
202
|
addComponent<T extends Component>(classConstructor: Constructor<T>): T;
|
|
204
203
|
/**
|