Skip to content
您正在瀏覽 v0.18 的文件。最新版本為 v0.20。 前往最新文件

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

函式: useAnimationFrame() ​

useAnimationFrame(callback?): void

定義於: useBoard.ts:65

Hook to run a callback on every animation frame.

參數 ​

callback? ​

(timestamp) => void

Function to call on each animation frame, receives the current timestamp

回傳 ​

void