Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Data model for the wizard holding all the pages in order. The model has no concept of branching, it follows the pages in linear order.
| Name | FModuleWizardModel |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/Wizard/SNiagaraModuleWizard.h |
| Include Path | #include "Widgets/Wizard/SNiagaraModuleWizard.h" |
Syntax
struct FModuleWizardModel : public TSharedFromThis< FModuleWizardModel >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FModuleWizardModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FModuleWizardModel() |
Widgets/Wizard/SNiagaraModuleWizard.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FModuleWizardModel() |
Widgets/Wizard/SNiagaraModuleWizard.h |
Structs
| Name | Remarks |
|---|---|
| FModuleCreationEntry |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Pages | TArray< TSharedRef< FModuleWizardPage > > | Widgets/Wizard/SNiagaraModuleWizard.h | ||
| TargetUsage | ENiagaraScriptUsage | Target usage of the generated module | Widgets/Wizard/SNiagaraModuleWizard.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateNewModuleContent
(
TSharedPtr< FNiagaraScratchPadScriptViewModel > ScratchPadScriptViewModel, |
Called when the scratch pad is generated and the graph can be modified, but before the scratch pad is added to the stack | Widgets/Wizard/SNiagaraModuleWizard.h | |
virtual FName GetIdentifier() |
A unique name to identify this wizard with. Used in menus. | Widgets/Wizard/SNiagaraModuleWizard.h | |
virtual TArray< FModuleCreationEntry > GetModulesToCreate
(
UNiagaraNodeOutput* ProvidedOutputNode, |
Child classes can override this if they want to generate more than one module in the system or change the location of the generated module | Widgets/Wizard/SNiagaraModuleWizard.h | |
virtual bool UpdateModuleInputs
(
UNiagaraClipboardContent* NewModule, |
Called after the generated module is added to the stack - returning true will apply the modified clipboard content to the module inputs | Widgets/Wizard/SNiagaraModuleWizard.h |