FAudioThread::RunCommandOnGameThread

Execute a (presumably audio) command on the game thread.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioThread.h

Include

#include "AudioThread.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioThread.cpp

Syntax

static void RunCommandOnGameThread
(
    TFunction< void()> InFunction,
    const TStatId InStatId
)

Remarks

Execute a (presumably audio) command on the game thread. If GIsAudioThreadRunning is false the command will execute immediately

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss