UNiagaraComponent::SetNiagaraVariableFloat

Sets a Niagara float parameter by name, overriding locally if necessary.

Windows
MacOS
Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraComponent.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=Niagara,
          Meta=(DisplayName="Set Niagara Variable By String (Float)"))
void SetNiagaraVariableFloat
(
    const FString & InVariableName,
    float InValue
)

Remarks

Sets a Niagara float parameter by name, overriding locally if necessary.

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