Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraScriptSourceBase
Description
Adds a module if it isn't already in the graph. If the module isn't found bOutFoundModule will be false. If it is found and it did need to be added, the function returns true. If it already exists, it returns false.
| Name | AddModuleIfMissing |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScriptSourceBase.h |
| Include Path | #include "NiagaraScriptSourceBase.h" |
virtual bool AddModuleIfMissing
(
FString ModulePath,
ENiagaraScriptUsage Usage,
bool & bOutFoundModule
)