UNPKG

@pixi/react

Version:

Write PixiJS applications using React declarative style.

7 lines (6 loc) 320 B
import { type TickerCallback } from 'pixi.js'; import { type UseTickOptions } from '../typedefs/UseTickOptions'; /** Attaches a callback to the application's Ticker. */ export declare function useTick<T>( /** @description The function to be called on each tick. */ options: TickerCallback<T> | UseTickOptions<T>): void;