Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
- UEdGraphSchema::TrySetDefaultValue()
- UEdGraphSchema_K2::TrySetDefaultValue()
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
&40;
UEdGraphPin & Pin,
const FString & NewDefaultValue,
bool bMarkAsModified
&41; 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 |