UEdGraphSchema_Niagara::TrySetDefaultValue

Sets the string to the specified pin; even if it is invalid it is still set.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UEdGraphSchema::TrySetDefaultValue()

UEdGraphSchema_Niagara::TrySetDefaultValue()

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

virtual void TrySetDefaultValue
(
    UEdGraphPin & Pin,
    const FString & NewDefaultValue,
    bool bMarkAsModified
) const

Remarks

Sets the string to the specified pin; even if it is invalid it is still set.

Parameters

Parameter

Description

Pin

The pin on which to set the default value.

NewDefaultValue

The new default value.

bMarkAsModified

Marks the container of the value as modified. For Niagara Schema, whether or not to notify the Node owning the Pin that the Pin has changed.