FEditorUndoClient::MatchesContext

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

Windows
MacOS
Linux

Override Hierarchy

FEditorUndoClient::MatchesContext()

FFractureEditorMode::MatchesContext()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorUndoClient.h

Include

#include "EditorUndoClient.h"

Syntax

virtual bool MatchesContext
(
    const FTransactionContext & InContext,
    const TArray< TPair< UObject *, FTransactionObjectEvent >> & TransactionObjectContexts
) 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

Returns

True if client wishes to handle the undo/redo operation for this context. False otherwise

Parameters

Parameter

Description

InContext

The transaction context

TransactionObjectContexts

The transaction context of each object involved in this transaction

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss