tslerp
Version:
Typescript library for lerping single and multi-sample data sets over time
16 lines (15 loc) • 433 B
TypeScript
export declare enum Continuation {
Continue = 0,
Cancel = 1,
}
export declare class Intervals {
private setIntervalHandle;
private setIntervalLastTime;
private paused;
private clientCallbacks;
static readonly DEFAULT_MILLISECOND_INTERVAL: number;
start(clientCallback: (timeDelta: number) => Continuation): void;
stop(): void;
pause(pause: boolean): void;
private setIntervalCallback();
}