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.
|
pure virtual |
Request that the Context open a Transaction, whatever that means to the current Context
| Description | text description of this transaction (this is the string that appears on undo/redo in the UE Editor) |
在 UInteractiveGizmoManager , 以及 UInteractiveToolManager 内被实现.
|
pure virtual |
Forward an FChange object to the Context
| TargetObject | the object that the FChange applies to |
| Change | the change object that the Context should insert into the transaction history |
| Description | text description of this change (this is the string that appears on undo/redo in the UE Editor) |
在 UInteractiveGizmoManager , 以及 UInteractiveToolManager 内被实现.