Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include | #include "EdGraphSchema_K2.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
virtual void TrySetDefaultValue ( [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) & Pin, const [FString](API\Runtime\Core\Containers\FString) & NewDefaultValue, bool bMarkAsModified ) const
Remarks
Sets the string to the specified pin; even if it is invalid it is still set.
Parameters
Name | 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 |