Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UEdGraphSchema_Niagara
- UEdGraphSchema::TrySetDefaultValue()
- UEdGraphSchema_Niagara::TrySetDefaultValue()
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/EdGraphSchema_Niagara.h |
| Include | #include "EdGraphSchema_Niagara.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/EdGraphSchema_Niagara.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. For Niagara Schema, whether or not to notify the Node owning the Pin that the Pin has changed. |