Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/EdGraph > API/Runtime/Engine/EdGraph/UEdGraphSchema
- UEdGraphSchema::IsPinDefaultValid()
- UEdGraphSchema_K2::IsPinDefaultValid()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
| Include | #include "EdGraph/EdGraphSchema.h" |
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. |