hz-particles 1.5.5 → 1.5.7
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-lib/hz-particles.cjs +10 -10
- package/dist-lib/hz-particles.d.ts +7 -0
- package/dist-lib/hz-particles.mjs +1001 -979
- package/package.json +1 -1
|
@@ -361,6 +361,13 @@ export class ParticleSystemManager {
|
|
|
361
361
|
removeSystem(index: number): boolean;
|
|
362
362
|
destroy(): void;
|
|
363
363
|
respawnAllSystems(): void;
|
|
364
|
+
/** Respawn ONE group (the ids returned by addSystems) and leave every other system alone.
|
|
365
|
+
* The group gets its own time origin and duration: its startAt delays and keyframes are read
|
|
366
|
+
* from its birth, not from the shared timeline. Hosts that add groups to a LIVE overlay must
|
|
367
|
+
* use this - respawnAllSystems restarts every effect on screen. */
|
|
368
|
+
respawnSystems(ids: Iterable<number>): void;
|
|
369
|
+
/** Timeline length of an arbitrary set of configs (the group-scoped getTotalDuration). */
|
|
370
|
+
durationOfConfigs(configs: ParticleSystemConfig[]): number;
|
|
364
371
|
updateAllSystems(deltaTime: number): void;
|
|
365
372
|
getSystemsList(): SystemInfo[];
|
|
366
373
|
duplicateActiveSystem(): number;
|