Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAudioThread
Description
Execute a (presumably audio) command on the game thread. If GIsAudioThreadRunning is false the command will execute immediately
| Name | RunCommandOnGameThread |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioThread.h |
| Include Path | #include "AudioThread.h" |
| Source | /Engine/Source/Runtime/Engine/Private/AudioThread.cpp |
static void RunCommandOnGameThread
(
TUniqueFunction < void> InFunction,
const TStatId InStatId
)