FFunctionLatentCommand

Run some code latently with a predicate lambda.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

IAutomationLatentCommand

FFunctionLatentCommand

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h

Include

#include "Misc/AutomationTest.h"

Syntax

class FFunctionLatentCommand : public IAutomationLatentCommand

Remarks

Run some code latently with a predicate lambda. If the predicate returns true, the latent action will be called again next frame. If it returns false, the command will stop running.

Constructors

Name Description

Public function

FFunctionLatentCommand

(
    TFunction< bool()> InLatentPredicat...
)

Destructors

Name Description

Public function Virtual

~FFunctionLatentCommand()

Overridden from IAutomationLatentCommand

Name Description

Public function 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)

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