@galacean/effects-core 2.0.0-alpha.17 → 2.0.0-alpha.18
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/composition.d.ts +5 -4
- package/dist/constants.d.ts +1 -1
- package/dist/index.js +158 -190
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +158 -189
- package/dist/index.mjs.map +1 -1
- package/dist/material/utils.d.ts +3 -3
- package/dist/plugins/particle/particle-mesh.d.ts +1 -1
- package/dist/plugins/particle/trail-mesh.d.ts +1 -1
- package/dist/plugins/sprite/sprite-mesh.d.ts +0 -4
- package/dist/render/shader.d.ts +4 -4
- package/dist/texture/utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/composition.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import type { Ray } from '@galacean/effects-math/es/core/index';
|
|
|
2
2
|
import * as spec from '@galacean/effects-specification';
|
|
3
3
|
import { Camera } from './camera';
|
|
4
4
|
import { CompositionComponent } from './comp-vfx-item';
|
|
5
|
+
import { CompositionSourceManager } from './composition-source-manager';
|
|
5
6
|
import type { PluginSystem } from './plugin-system';
|
|
6
|
-
import type { EventSystem, Region } from './plugins';
|
|
7
|
+
import type { EventSystem, Plugin, Region } from './plugins';
|
|
7
8
|
import type { MeshRendererOptions, Renderer } from './render';
|
|
8
9
|
import { RenderFrame } from './render';
|
|
9
10
|
import type { Scene, SceneType } from './scene';
|
|
@@ -160,6 +161,8 @@ export declare class Composition implements Disposable, LostHandler {
|
|
|
160
161
|
*/
|
|
161
162
|
protected readonly keepColorBuffer: boolean;
|
|
162
163
|
protected rootComposition: CompositionComponent;
|
|
164
|
+
protected readonly postLoaders: Plugin[];
|
|
165
|
+
protected compositionSourceManager: CompositionSourceManager;
|
|
163
166
|
/**
|
|
164
167
|
* 合成暂停/播放 标识
|
|
165
168
|
*/
|
|
@@ -170,8 +173,6 @@ export declare class Composition implements Disposable, LostHandler {
|
|
|
170
173
|
*/
|
|
171
174
|
private readonly globalVolume;
|
|
172
175
|
private readonly texInfo;
|
|
173
|
-
private readonly postLoaders;
|
|
174
|
-
private compositionSourceManager;
|
|
175
176
|
/**
|
|
176
177
|
* Composition 构造函数
|
|
177
178
|
* @param props - composition 的创建参数
|
|
@@ -278,7 +279,7 @@ export declare class Composition implements Disposable, LostHandler {
|
|
|
278
279
|
*/
|
|
279
280
|
protected reset(): void;
|
|
280
281
|
prepareRender(): void;
|
|
281
|
-
|
|
282
|
+
protected gatherRendererComponent(vfxItem: VFXItem, renderFrame: RenderFrame): void;
|
|
282
283
|
/**
|
|
283
284
|
* 是否合成需要重新播放
|
|
284
285
|
* @returns 重新播放合成标志位
|
package/dist/constants.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export declare const SEMANTIC_MAIN_PRE_COLOR_ATTACHMENT_0 = "PRE_MAIN_COLOR_0";
|
|
|
5
5
|
export declare const SEMANTIC_MAIN_PRE_COLOR_ATTACHMENT_SIZE_0 = "PRE_MAIN_COLOR_SIZE_0";
|
|
6
6
|
export declare const PLAYER_OPTIONS_ENV_EDITOR = "editor";
|
|
7
7
|
export declare const HELP_LINK: {
|
|
8
|
-
'Filter not imported': string;
|
|
9
8
|
'Item duration can\'t be less than 0': string;
|
|
9
|
+
'ValueType: 21/22 is not supported': string;
|
|
10
10
|
};
|