Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
An interface for editor only data which owns UNiagaraScriptVariables and supports synchronizing them with definitions.
| Name | UNiagaraEditorParametersAdapter |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraEditorData.h |
| Include Path | #include "NiagaraEditorData.h" |
Syntax
UCLASS ()
class UNiagaraEditorParametersAdapter : public UNiagaraEditorParametersAdapterBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraEditorParametersAdapterBase → UNiagaraEditorParametersAdapter
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditorOnlyScriptVars | TArray< TObjectPtr< UNiagaraScriptVariable > > | NiagaraEditorData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< TObjectPtr< UNiagaraScriptVariable > > & GetParameters() |
Get All UNiagaraScriptVariables owned directly by this editor data. | NiagaraEditorData.h | |
TOptional< TTuple< FName, FName > > SynchronizeEditorOnlyScriptVar
(
const UNiagaraScriptVariable* SourceScriptVar, |
Synchronize a specific dest UNiagaraScriptVariable directly owned by the editor data with a specific source UNiagaraScriptVariable. | NiagaraEditorData.h | |
bool SynchronizeParameterDefinitionsScriptVariableRemoved
(
const FGuid& RemovedScriptVarId |
Find a script variable with the same key as RemovedScriptVarId and unmark it as being sourced from a parameter definitions. | NiagaraEditorData.h |
Overridden from UNiagaraEditorParametersAdapterBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< TTuple< FName, FName > > SynchronizeParametersWithParameterDefinitions
(
const TArray< UNiagaraParameterDefinitionsBase* > TargetDefinitions, |
Synchronize all source script variables that have been changed or removed from the parameter definitions to all eligible destination script variables owned by the editor data. | NiagaraEditorData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
NiagaraEditorData.h |