Skip to content

@ue-too/board-vue-adapter / index / useAnimationFrameWithBoard

関数: useAnimationFrameWithBoard()

useAnimationFrameWithBoard(callback?): void

定義: useBoard.ts:89

Hook to run an animation loop integrated with the Board's step function.

パラメータ

callback?

(timestamp, ctx) => void

Optional function to call after board.step(), receives timestamp and canvas context

戻り値

void