@galacean/effects-core 2.0.0-alpha.23 → 2.0.0-alpha.25
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/camera.d.ts +3 -3
- package/dist/composition.d.ts +3 -2
- package/dist/index.js +45 -47
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -47
- package/dist/index.mjs.map +1 -1
- package/dist/material/material.d.ts +1 -0
- package/dist/plugins/particle/particle-system.d.ts +1 -0
- package/dist/plugins/particle/particle-vfx-item.d.ts +0 -1
- package/dist/plugins/timeline/track.d.ts +1 -2
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@ export declare abstract class Material extends EffectsObject implements Disposab
|
|
|
59
59
|
shaderSource: ShaderWithSource;
|
|
60
60
|
stringTags: Record<string, string>;
|
|
61
61
|
readonly uniformSemantics: Record<string, UniformSemantic>;
|
|
62
|
+
readonly enabledMacros: Record<string, number | boolean>;
|
|
62
63
|
readonly renderType: MaterialRenderType;
|
|
63
64
|
readonly name: string;
|
|
64
65
|
readonly props: MaterialProps;
|
|
@@ -158,6 +158,7 @@ export declare class ParticleSystem extends Component {
|
|
|
158
158
|
get timePassed(): number;
|
|
159
159
|
get lifetime(): number;
|
|
160
160
|
get particleCount(): number;
|
|
161
|
+
isFrozen(): boolean;
|
|
161
162
|
initEmitterTransform(): void;
|
|
162
163
|
private updateEmitterTransform;
|
|
163
164
|
private addParticle;
|
|
@@ -7,7 +7,6 @@ import { ParticleSystem } from './particle-system';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ParticleBehaviourPlayable extends Playable {
|
|
9
9
|
particleSystem: ParticleSystem;
|
|
10
|
-
lastTime: number;
|
|
11
10
|
start(context: FrameContext): void;
|
|
12
11
|
processFrame(context: FrameContext): void;
|
|
13
12
|
}
|
|
@@ -13,7 +13,7 @@ export declare class TimelineClip {
|
|
|
13
13
|
start: number;
|
|
14
14
|
duration: number;
|
|
15
15
|
asset: PlayableAsset;
|
|
16
|
-
|
|
16
|
+
endBehavior: ItemEndBehavior;
|
|
17
17
|
constructor();
|
|
18
18
|
toLocalTime(time: number): number;
|
|
19
19
|
}
|
|
@@ -62,7 +62,6 @@ export declare class RuntimeClip {
|
|
|
62
62
|
constructor(clip: TimelineClip, clipPlayable: Playable, parentMixer: Playable, track: TrackAsset);
|
|
63
63
|
set enable(value: boolean);
|
|
64
64
|
evaluateAt(localTime: number): void;
|
|
65
|
-
private onClipEnd;
|
|
66
65
|
}
|
|
67
66
|
/**
|
|
68
67
|
* @since 2.0.0
|