pixi-reactive
Version:
A library to help integrate PIXI into a React project
19 lines (18 loc) • 410 B
TypeScript
export declare type PointerContextType = {
x: number;
y: number;
over: boolean;
selected: boolean;
};
export declare enum PointerContextActionType {
UpdatePosition = 0,
StartOver = 1,
EndOver = 2,
StartInteraction = 3,
EndInteraction = 4
}
export declare type PointerContextAction = {
type: PointerContextActionType;
x?: number;
y?: number;
};