UNPKG

498 BTypeScriptView Raw
1import type { AnimationStatus } from "../../Enums";
2export interface IParticleValueAnimation<T> {
3 enable: boolean;
4 status?: AnimationStatus;
5 velocity?: number;
6 value: T;
7 loops?: number;
8 maxLoops?: number;
9}
10export interface IParticleNumericValueAnimation extends IParticleValueAnimation<number> {
11 min: number;
12 max: number;
13}
14export interface IParticleTiltValueAnimation extends IParticleValueAnimation<number> {
15 sinDirection: number;
16 cosDirection: number;
17}