Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
- UEdGraphSchema::IsPinDefaultValid()
- UEdGraphSchema_K2::IsPinDefaultValid()
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 FString IsPinDefaultValid
&40;
const UEdGraphPin &42; Pin,
const FString & NewDefaultValue,
TObjectPtr< UObject > NewDefaultObject,
const FText & InNewDefaultText
&41; const
Remarks
Determine if the supplied pin default values would be valid. An empty string if the new value is legal, otherwise a message describing why it is invalid.
Parameters
| Name | Description |
|---|---|
| Pin | The pin to check the default value on. |