CallOnGameThread

Sends InFunction to be called on the GameThread and waits for the result

Windows
MacOS
Linux

References

Module

UE4ML

Header

/Engine/Plugins/AI/UE4ML/Source/UE4ML/Public/4MLAsync.h

Include

#include "4MLAsync.h"

Syntax

template<typename RetType>
RetType CallOnGameThread
(
    TFunction< RetType()> InFunction
)

Remarks

Sends InFunction to be called on the GameThread and waits for the result

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