UEdGraphSchema::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

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