UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInteractiveToolAction Struct Reference

#include <InteractiveToolActionSet.h>

Public Member Functions

 FInteractiveToolAction ()
 
 FInteractiveToolAction (const UClass *ClassTypeIn, int32 ActionIDIn, const FString &ActionNameIn, const FText &ShortNameIn, const FText &DescriptionIn, EModifierKey::Type DefaultModifiersIn, const FKey &DefaultKeyIn)
 

Public Attributes

const UClassClassType
 
int32 ActionID
 
FString ActionName
 
FText ShortName
 
FText Description
 
EModifierKey::Type DefaultModifiers
 
FKey DefaultKey
 
TFunction< void()> OnAction
 

Detailed Description

FInteractiveToolAction is returned by a UInteractiveTool to represent an "Action" the Tool can execute.

Constructor & Destructor Documentation

◆ FInteractiveToolAction() [1/2]

FInteractiveToolAction::FInteractiveToolAction ( )
inline

◆ FInteractiveToolAction() [2/2]

FInteractiveToolAction::FInteractiveToolAction ( const UClass ClassTypeIn,
int32  ActionIDIn,
const FString &  ActionNameIn,
const FText ShortNameIn,
const FText DescriptionIn,
EModifierKey::Type  DefaultModifiersIn,
const FKey DefaultKeyIn 
)
inline

Member Data Documentation

◆ ActionID

int32 FInteractiveToolAction::ActionID

Identifier for this Action

◆ ActionName

FString FInteractiveToolAction::ActionName

Internal name for this Action

◆ ClassType

const UClass* FInteractiveToolAction::ClassType

Which type of UInteractiveTool this Action can be applied to

◆ DefaultKey

FKey FInteractiveToolAction::DefaultKey

Suggested keybinding for this Action.

◆ DefaultModifiers

EModifierKey::Type FInteractiveToolAction::DefaultModifiers

Suggested modifier keys for this Action

◆ Description

FText FInteractiveToolAction::Description

Descriptive name for this Action

◆ OnAction

TFunction<void()> FInteractiveToolAction::OnAction

Call this function to execute the Action

◆ ShortName

FText FInteractiveToolAction::ShortName

Short name for this Action


The documentation for this struct was generated from the following file: