FInteractiveToolAction

[FInteractiveToolAction](API\Runtime\InteractiveToolsFramework\FInteractiveToolAction) is returned by a [UInteractiveTool](API\Runtime\InteractiveToolsFramework\UInteractiveTool) to represent an "Action" the Tool can execute.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "InteractiveToolActionSet.h"

Syntax

struct FInteractiveToolAction

Remarks

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

Variables

Name Description

Public variable

int32

 

ActionID

Identifier for this Action

Public variable

FString

 

ActionName

Internal name for this Action

Public variable

const UClass &#...

 

ClassType

Which type of UInteractiveTool this Action can be applied to

Public variable

FKey

 

DefaultKey

Suggested keybinding for this Action.

Public variable

EModifierKey::T...

 

DefaultModifiers

Suggested modifier keys for this Action

Public variable

FText

 

Description

Descriptive name for this Action

Public variable

TFunction< void...

 

OnAction

Call this function to execute the Action

Public variable

FText

 

ShortName

Short name for this Action

Constructors

Name Description

Public function

FInteractiveToolAction()

Public function

FInteractiveToolAction

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss