engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FInteractiveToolActionSet类 参考

FInteractiveToolActionSet maintains a list of FInteractiveToolAction. 更多...

#include <InteractiveToolActionSet.h>

Public 成员函数

void CollectActions (TArray< FInteractiveToolAction > &OutActions) const
 Return the internal list of registered Actions by adding to the OutActions array
 
void ExecuteAction (int32 ActionID) const
 Execute the action identified by ActionID
 
const FInteractiveToolAction * FindActionByID (int32 ActionID) const
 Find an existing Action by ID 更多...
 
void RegisterAction (UInteractiveTool *Tool, int32 ActionID, const FString &ActionName, const FText &ShortUIName, const FText &DescriptionText, EModifierKey::Type Modifiers, const FKey &ShortcutKey, TFunction< void()> ActionFunction)
 Register an Action with the ActionSet. 更多...
 

详细描述

FInteractiveToolActionSet maintains a list of FInteractiveToolAction.

Each UInteractiveTool contains an instance of this class.

成员函数说明

◆ FindActionByID()

const FInteractiveToolAction * FInteractiveToolActionSet::FindActionByID ( int32  ActionID) const

Find an existing Action by ID

返回
located Action, or nullptr if not found

◆ RegisterAction()

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

Register an Action with the ActionSet.

This function is intended to be called by UInteractiveTool::RegisterActions() implementations


该类的文档由以下文件生成: