Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/EdGraph > API/Runtime/Engine/EdGraph/UEdGraphSchema
- UEdGraphSchema::TrySetDefaultValue()
- UEdGraphSchema_Niagara::TrySetDefaultValue()
- URigVMEdGraphSchema::TrySetDefaultValue()
- UMetasoundEditorGraphSchema::TrySetDefaultValue()
- UEdGraphSchema_K2::TrySetDefaultValue()
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 |
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 |