UNiagaraEditorParametersAdapter

An interface for editor only data which owns UNiagaraScriptVariables and supports synchronizing them with definitions.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraEditorData.h

Include

#include "NiagaraEditorData.h"

Syntax

UCLASS()
class UNiagaraEditorParametersAdapter : public UNiagaraEditorParametersAdapterBase

Remarks

An interface for editor only data which owns UNiagaraScriptVariables and supports synchronizing them with definitions.

Functions

Name Description

Public function Virtual

TArray< UNia...

 

GetParameters()

Get All UNiagaraScriptVariables owned directly by this editor data.

Public function

TOptional< T...

 

SynchronizeEditorOnlyScriptVar

(
    const UNiagaraScriptVariable* ...,
    UNiagaraScriptVariable* DestSc...
)

Synchronize a specific dest UNiagaraScriptVariable directly owned by the editor data with a specific source UNiagaraScriptVariable.

Public function

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.

Overridden from UNiagaraEditorParametersAdapterBase

Name Description

Public function Virtual

TArray< TTup...

 

SynchronizeParametersWithParameterDefinitions

(
    const TArray< UNiagaraParameterDefi...,
    const TArray< UNiagaraParameterDefi...,
    const TSet< FGuid >& AllDefinition...,
    INiagaraParameterDefinitionsSubscri...,
    FSynchronizeWithParameterDefinition...
)

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.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.