| FEditorUndoClient::MatchesContext()
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorUndoClient.h |
Include |
#include "EditorUndoClient.h" |
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 |