UEdGraphSchema::TrySetDefaultValue

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

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h

Include

#include "EdGraph/EdGraphSchema.h"

Source

/Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphSchema.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

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