Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/LatentActionManager.h |
Include | #include "Engine/LatentActionManager.h" |
Syntax
struct FLatentActionManager
Remarks
The latent action manager handles all pending latent actions for a single world.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FActionsForObject | ActionsToRemoveMap | |
![]() |
FObjectToActionListMap | ObjectToActionListMap |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddNewAction
(
UObject* InActionObject, |
Adds a new action to the action list under a given UUID |
![]() |
void | BeginFrame () |
Resets the list of objects we have processed the latent action list for. |
![]() |
ActionType * | FindExistingAction
(
UObject* InActionObject, |
Finds the action instance for the supplied UUID, or will return NULL if one does not already exist. |
![]() |
ActionType * | FindExistingActionWithPredicate
(
UObject* InActionObject, |
Finds the action instance for the supplied UUID, or will return NULL if one does not already exist. |
![]() ![]() |
const FObjectActions * | GetActionsForObject
(
const TWeakObjectPtr< UObject >& InObject |
Finds the action instance for the supplied object will return NULL if one does not exist. |
![]() |
FObjectActions * | GetActionsForObject
(
const TWeakObjectPtr< UObject >& InObject |
Finds the action instance for the supplied object will return NULL if one does not exist. |
![]() ![]() |
void | GetActiveUUIDs
(
UObject* InObject, |
Builds a set of the UUIDs of pending latent actions on a specific object. |
![]() ![]() |
FString | GetDescription
(
UObject* InObject, |
Gets the description string of a pending latent action with the specified UUID for a given object, or the empty string if it's an invalid UUID |
![]() |
int32 | GetNumActionsForObject
(
TWeakObjectPtr< UObject > InObject |
Returns the number of actions for a given object |
![]() ![]() |
FOnLatentActionsChanged & | ||
![]() |
void | ProcessLatentActions
(
UObject* InObject, |
Advance pending latent actions by DeltaTime. |
![]() |
void | RemoveActionsForObject
(
TWeakObjectPtr< UObject > InObject |
Removes all actions for given object. |
![]() |
void | TickLatentActionForObject
(
float DeltaTime, |
Ticks the latent action for a single UObject. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FObjectActions |
Typedefs
Name | Description |
---|---|
FActionList | Map of UUID->Action(s). |
FActionsForObject | |
FObjectToActionListMap | Map to convert from object to FActionList. |
FUuidAndAction | List of actions that will be unconditionally removed at the begin of next tick |
FWeakObjectAndActions |
Constants
Name | Description |
---|---|
LatentActionsChangedDelegate | Delegate called when a latent action is added or removed |