Navigation
API > API/Plugins > API/Plugins/MetasoundEditor > API/Plugins/MetasoundEditor/UMetasoundEditorGraphSchema
- UEdGraphSchema::TrySetDefaultValue()
- UMetasoundEditorGraphSchema::TrySetDefaultValue()
References
| Module | MetasoundEditor |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundEditorGraphSchema.h |
| Include | #include "MetasoundEditorGraphSchema.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Private/MetasoundEditorGraphSchema.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 |