Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UNiagaraGraph
Description
Changes the type of existing graph parameters. Optionally creates orphaned pins for any connection that won't be kept, but tries to keep connections as long as types are matching. Changing multiple parameters at once helps with maintaining connections. CAUTION: Do not allow orphaned pins in the stack graphs, as they aren't user facing.
| Name | ChangeParameterType |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraGraph.h |
| Include Path | #include "NiagaraGraph.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraGraph.cpp |
void ChangeParameterType
(
const TArray < FNiagaraVariable > & ParametersToChange,
const FNiagaraTypeDefinition & NewType,
bool bAllowOrphanedPins
)