Navigation
API > API/Plugins > API/Plugins/MLAdapter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RetType CallOnGameThread
(
TFunction< RetType()> InFunction |
Sends InFunction to be called on the GameThread and waits for the result | MLAdapterAsync.h | |
void CallOnGameThread
(
TFunction< void()> InFunction |
Fire (InFunction to be called on the GameThread) and forget | MLAdapterAsync.h |
CallOnGameThread(TFunction< RetType()>)
Description
Sends InFunction to be called on the GameThread and waits for the result
| Name | CallOnGameThread |
| Type | function |
| Header File | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/MLAdapterAsync.h |
| Include Path | #include "MLAdapterAsync.h" |
template<typename RetType>
RetType CallOnGameThread
(
TFunction < RetType> InFunction
)
CallOnGameThread(TFunction< void()>)
Description
Fire (InFunction to be called on the GameThread) and forget
| Name | CallOnGameThread |
| Type | function |
| Header File | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/MLAdapterAsync.h |
| Include Path | #include "MLAdapterAsync.h" |
template<>
void CallOnGameThread
(
TFunction < void> InFunction
)