/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraFunctionLibrary.h
for (TSharedPtr&Emitter : Emitters) { if(UNiagaraEmitter* PinnedProps = Emitter->GetProperties().Get()) {FNameCurName = *PinnedProps->EmitterName; if (CurName == EmitterName) { Emitter->GetProperties()->UpdateScriptProps.ExternalConstants.SetOrAdd(FNiagaraTypeDefinition::GetVec4Def(), ConstantName, Value); break; } } } }
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=Niagara, Meta=(DisplayName="Set Niagara Static Mesh Component")) static void OverrideSystemUserVariableStaticMeshComponent ( [UNiagaraComponent](API\Plugins\Niagara\UNiagaraComponent) * NiagaraSystem, const [FString](API\Runtime\Core\Containers\FString) & OverrideName, [UStaticMeshComponent](API\Runtime\Engine\Components\UStaticMeshComponent) * StaticMeshComponent )