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

IToolContextTransactionProvider is a UInterface that defines several functions that InteractiveTool code uses to interface with the higher-level transaction system. 更多...

#include <InteractiveToolChange.h>

+ 类 IToolContextTransactionProvider 继承关系图:

Public 成员函数

virtual void BeginUndoTransaction (const FText &Description)=0
 Request that the Context open a Transaction, whatever that means to the current Context 更多...
 
virtual void EmitObjectChange (UObject *TargetObject, TUniquePtr< FToolCommandChange > Change, const FText &Description)=0
 Forward an FChange object to the Context 更多...
 
virtual void EndUndoTransaction ()=0
 Request that the Context close and commit the open Transaction
 

详细描述

IToolContextTransactionProvider is a UInterface that defines several functions that InteractiveTool code uses to interface with the higher-level transaction system.

UInteractiveToolManager and UInteractiveGizmoManager both implement this interface.

成员函数说明

◆ BeginUndoTransaction()

virtual void IToolContextTransactionProvider::BeginUndoTransaction ( const FText &  Description)
pure virtual

Request that the Context open a Transaction, whatever that means to the current Context

参数
Descriptiontext description of this transaction (this is the string that appears on undo/redo in the UE Editor)

在 UInteractiveGizmoManager , 以及 UInteractiveToolManager 内被实现.

◆ EmitObjectChange()

virtual void IToolContextTransactionProvider::EmitObjectChange ( UObject *  TargetObject,
TUniquePtr< FToolCommandChange >  Change,
const FText &  Description 
)
pure virtual

Forward an FChange object to the Context

参数
TargetObjectthe object that the FChange applies to
Changethe change object that the Context should insert into the transaction history
Descriptiontext description of this change (this is the string that appears on undo/redo in the UE Editor)

在 UInteractiveGizmoManager , 以及 UInteractiveToolManager 内被实现.


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