UNiagaraGraph::UpdateUsageForScriptVariable

Sets the ENiagaraScriptParameterUsage on the Metadata of a ScriptVariable depending on its pin usage in the node graph (used on input/output pins).

Windows
MacOS
Linux

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraGraph.h

Include

#include "NiagaraGraph.h"

Source

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraGraph.cpp

Syntax

bool UpdateUsageForScriptVariable
(
    UNiagaraScriptVariable * ScriptVariable
) const

Remarks

Sets the ENiagaraScriptParameterUsage on the Metadata of a ScriptVariable depending on its pin usage in the node graph (used on input/output pins).

Returns

false if the ScriptVariable no longer has any referencing Map Get or Set pins in its owning Graph.

Parameters

Parameter

Description

ScriptVariable

The ScriptVariable to update the Metadata of.

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