FNiagaraUtilities::PrepareRapidIterationParameters

Prepares rapid iteration parameter stores for simulation by removing old parameters no longer used by functions, by initializing new parameters added to functions, and by copying parameters across parameter stores for interscript dependencies.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h

Include

#include "NiagaraCommon.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraCommon.cpp

Syntax

namespace FNiagaraUtilities
{
    void FNiagaraUtilities::PrepareRapidIterationParameters
    (
        const TArray< UNiagaraScript * > & Scripts,
        const TMap< UNiagaraScript *, UNiagaraScript * > & ScriptDependencyMap,
        const TMap< UNiagaraScript *, FString > & ScriptToEmitterNameMap
    )
}

Remarks

Prepares rapid iteration parameter stores for simulation by removing old parameters no longer used by functions, by initializing new parameters added to functions, and by copying parameters across parameter stores for interscript dependencies.

Parameters

Parameter

Description

Scripts

The scripts who's rapid iteration parameter stores will be processed.

ScriptDependencyMap

A map of script dependencies where the key is the source script and the value is the script which depends on the source. All scripts in this map must be contained in the Scripts array, both keys and values.

ScriptToEmitterNameMap

An array of scripts to the name of the emitter than owns them. If this is a system script the name can be empty. All scripts in the scripts array must have an entry in this map.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss