fx.NiagaraEditor.ReinitializeStyle
fx.NiagaraEditor.ReinitializeStyle
#Overview
name: fx.NiagaraEditor.ReinitializeStyle
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Reinitializes the style for the niagara editor module. Used in conjuction with live coding for UI tweaks. May crash the editor if style objects are in use.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraEditorModule.cpp:1266
Scope (from outer to inner):
file
function void FNiagaraEditorModule::StartupModule
Source code excerpt:
FNiagaraEditorStyle::Register();
ReinitializeStyleCommand = IConsoleManager::Get().RegisterConsoleCommand(
TEXT("fx.NiagaraEditor.ReinitializeStyle"),
TEXT("Reinitializes the style for the niagara editor module. Used in conjuction with live coding for UI tweaks. May crash the editor if style objects are in use."),
FConsoleCommandDelegate::CreateRaw(this, &FNiagaraEditorModule::ReinitializeStyle));
FNiagaraEditorCommands::Register();
FNiagaraHierarchyEditorCommands::Register();
NiagaraComponentBroker = MakeShareable(new FNiagaraComponentBroker);
FComponentAssetBrokerage::RegisterBroker(NiagaraComponentBroker, UNiagaraComponent::StaticClass(), true, true);