FInteractiveToolActionSet::RegisterAction

Register an Action with the ActionSet.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolActionSet.h

Include

#include "InteractiveToolActionSet.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveToolActionSet.cpp

Syntax

void RegisterAction
(
    UInteractiveTool * Tool,
    int32 ActionID,
    const FString & ActionName,
    const FText & ShortUIName,
    const FText & DescriptionText,
    EModifierKey::Type Modifiers,
    const FKey & ShortcutKey,
    TFunction< void()> ActionFunction
)

Remarks

Register an Action with the ActionSet. This function is intended to be called by UInteractiveTool::RegisterActions() implementations