FxInstance beta
Interface of @v12-engine/client
ts
export interface FxInstanceThe game's own effect or part, playing (FxDef.make): told every frame, its knobs, and when to stop
Members
dispose
ts
dispose(): void;Everything of it taken away
set
ts
set?(params: FxParams): void;Its knobs changed
stop
ts
stop?(fade: number): void;It is to stop: over fade seconds, or at once at 0. It says it is over by update giving false, or is disposed
update
ts
update?(dt: number): boolean | void;Every frame, with the seconds since the last: false once it is over by itself