Navigation
API > API/Runtime > API/Runtime/Engine
FDelayAction A simple delay action; counts down and triggers it's output link when the time remaining falls to zero
| Name | FDelayAction |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/DelayAction.h |
| Include Path | #include "DelayAction.h" |
Syntax
class FDelayAction : public FPendingLatentAction
Inheritance Hierarchy
- FPendingLatentAction → FDelayAction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelayAction
(
float Duration, |
DelayAction.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CallbackTarget | FWeakObjectPtr | DelayAction.h | ||
| ExecutionFunction | FName | DelayAction.h | ||
| OutputLink | int32 | DelayAction.h | ||
| TimeRemaining | float | DelayAction.h |
Functions
Public
Overridden from FPendingLatentAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDescription() |
Returns a human readable description of the latent operation's current state. | DelayAction.h | |
virtual void UpdateOperation
(
FLatentResponse& Response |
Return true when the action is completed. | DelayAction.h |