UNPKG

pixi-reactive

Version:

A library to help integrate PIXI into a React project

22 lines (21 loc) 464 B
export declare type AnimationContextType = { fps: number; averageFps: number; maxFps: number; minFps: number; frameId: number; elapsed: number; history: number[]; }; export declare type AnimationState = { time: number; frame: number; }; export declare enum AnimationActionType { Progress = 0, Reset = 1 } export declare type AnimationAction = { type: AnimationActionType; value?: number; };