Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/CallOnGameThread
References
| Module | MLAdapter |
| Header | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/MLAdapterAsync.h |
| Include | #include "MLAdapterAsync.h" |
template<typename RetType>
RetType CallOnGameThread
(
TFunction < RetType> InFunction
)
Remarks
Sends InFunction to be called on the GameThread and waits for the result