UEdGraphSchema_K2::IsPinDefaultValid

Determine if the supplied pin default values would be valid.

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2

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](API\Runtime\Core\Containers\FString) IsPinDefaultValid
(
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * Pin,
    const [FString](API\Runtime\Core\Containers\FString) & NewDefaultValue,
    [TObjectPtr](API\Runtime\Core\Delegates\TObjectPtr)< [UObject](API\Runtime\CoreUObject\UObject\UObject) > NewDefaultObject,
    const [FText](API\Runtime\Core\Internationalization\FText) & InNewDefaultText
) 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library