Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor/UNiagaraHierarch-_9
- FEditorUndoClient::MatchesContext()
- UNiagaraHierarchyViewModelBase::MatchesContext()
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.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 |