Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/FNiagaraExternalEditContext
Description
Returns a lazily-created non-data-only VM for diagnostic reads (stack issues). Distinct from the primary SystemViewModel because data-only VMs intentionally clear their stack-issue arrays. The two VMs coexist for the context's lifetime so items resolved through the primary VM (e.g. cached UNiagaraStackModuleItem pointers on FNiagaraExt_StackItemReference) remain valid.
| Name | GetDiagnosticsSystemViewModel |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraExternalSystemEditorUtilities.h |
| Include Path | #include "NiagaraExternalSystemEditorUtilities.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraExternalSystemEditorUtilities.cpp |
TSharedPtr < FNiagaraSystemViewModel > GetDiagnosticsSystemViewModel()