| FEditorUndoClient::MatchesContext()
|
Module |
|
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
(
const FTransactionContext & InContext,
const TArray< TPair< UObject *, FTransactionObjectEvent >> & TransactionObjectContexts
) const
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
Parameter |
Description |
---|---|
InContext |
The transaction context |
TransactionObjectContexts |
The transaction context of each object involved in this transaction |