Navigation
API > API/Plugins > API/Plugins/AnimNext
Module Action Event
Module action events are trait events that are processed at the end of a module's execution. If the event is not thread-safe, it is dispatched to execute on the main thread.
| Name | FAnimNextModule_ActionEvent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/Module/ModuleEvents.h |
| Include Path | #include "Module/ModuleEvents.h" |
Syntax
struct FAnimNextModule_ActionEvent : public FAnimNextTraitEvent
Inheritance Hierarchy
- FAnimNextTraitEvent → FAnimNextModule_ActionEvent
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeUID | UE::AnimNext::FTraitEventUID | FAnimNextTraitEvent impl | Module/ModuleEvents.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionFunction | TUniqueFunction< void(void)> | The optional action to execute. | Module/ModuleEvents.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Executes the schedule action Derived types can override this and implement whatever they wish instead of using a lambda | Module/ModuleEvents.h | |
virtual bool IsThreadSafe() |
Whether or not this event is thread-safe and can execute on any thread Events that are not thread-safe will execute on the main thread | Module/ModuleEvents.h |
Overridden from FAnimNextTraitEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UE::AnimNext::FTraitEventUID GetTypeUID() |
Returns the event type UID. | Module/ModuleEvents.h | |
virtual bool IsA
(
UE::AnimNext::FTraitEventUID InTypeUID |
Returns whether or not this event derives from the specified type. | Module/ModuleEvents.h |