Navigation
API > API/Editor > API/Editor/CurveEditor
This util starts a transaction. When the scope ends, checks whether any changes to selection were made and adds it an undo-able action. Use if you intend to change the selection.
| Name | FScopedSelectionTransaction |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/Utils/ScopedSelectionTransaction.h |
| Include Path | #include "Modification/Utils/ScopedSelectionTransaction.h" |
Syntax
class FScopedSelectionTransaction : public FScopedTransaction
Inheritance Hierarchy
- FScopedTransaction → FScopedSelectionTransaction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedSelectionTransaction
(
TWeakPtr< FCurveEditor > InCurveEditor, |
Modification/Utils/ScopedSelectionTransaction.h | ||
FScopedSelectionTransaction
(
TWeakPtr< FCurveEditor > InCurveEditor, |
Modification/Utils/ScopedSelectionTransaction.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedSelectionTransaction() |
Modification/Utils/ScopedSelectionTransaction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OriginalSelection | FCurveEditorSelection | The selection the editor had when the transaction was started. | Modification/Utils/ScopedSelectionTransaction.h | |
| WeakCurveEditor | const TWeakPtr< FCurveEditor > | Modification/Utils/ScopedSelectionTransaction.h |