Navigation
API > API/Plugins > API/Plugins/FractureEditor > API/Plugins/FractureEditor/UFractureEditorMode
- FEditorUndoClient::MatchesContext()
- UFractureEditorMode::MatchesContext()
References
| Module | FractureEditor |
| Header | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Public/FractureEditorMode.h |
| Include | #include "FractureEditorMode.h" |
| Source | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Private/FractureEditorMode.cpp |
virtual bool MatchesContext
&40;
const FTransactionContext & InContext,
const TArray< TPair< UObject &42;, FTransactionObjectEvent >> & TransactionObjectContexts
&41; const
Remarks
Called to see if the context of the current undo/redo operation is a match for the client Default state matching old context-less undo is Context="" and PrimaryObject=NULL True if client wishes to handle the undo/redo operation for this context. False otherwise
Parameters
| Name | Description |
|---|---|
| InContext | The transaction context |
| TransactionObjectContexts | The transaction context of each object involved in this transaction |