Navigation
API > API/Runtime > API/Runtime/Core
Run some code latently with a predicate lambda. If the predicate returns false, the latent action will be called again next frame. If it returns true, the command will stop running.
| Name | FFunctionLatentCommand |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h |
| Include Path | #include "Misc/AutomationTest.h" |
Syntax
class FFunctionLatentCommand : public IAutomationLatentCommand
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFunctionLatentCommand
(
TFunction< bool()> InLatentPredicate |
Misc/AutomationTest.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FFunctionLatentCommand() |
Misc/AutomationTest.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LatentPredicate | TFunction< bool()> | Misc/AutomationTest.h |
Functions
Public
Overridden from IAutomationLatentCommand
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Update() |
Updates the current command and will only return TRUE when it has fulfilled its role (Load map has completed and wait time has expired) | Misc/AutomationTest.h |