UEdGraphSchema_Niagara::PinToNiagaraVariable

Creates a niagara variable using the name, type, and default value stored on an ed graph pin.

Windows
MacOS
Linux

References

Module

NiagaraEditor

Header

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

Include

#include "EdGraphSchema_Niagara.h"

Source

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

Syntax

FNiagaraVariable PinToNiagaraVariable
(
    const UEdGraphPin * Pin,
    bool bNeedsValue
) const

Remarks

Creates a niagara variable using the name, type, and default value stored on an ed graph pin. Pin The pin to create a variable from. bNeedsValue Whether or not the returned variable must be allocated to a valid value. When true if the pin doesn't have a valid default value itself the variable will be reset to default before return. returns The newly created variable.

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