Skip to main contentModule task
Source - TickHandle
- A hook
on_tick added; remove stops it. Dropping the handle keeps the
hook running.
- is_game_thread
- Whether the caller is on the game thread, where UE may be called.
- on_tick
- Call
f every frame on the game thread with the frame’s seconds, in the
editor too, with or without a world. - run_on_game_thread
- Run
f on the game thread at the next frame: from a background thread,
the way back to the engine. - spawn
- Run
work on a thread of its own, then done with its result on the game
thread. work must not call the engine; done may.