UEdGraphSchema_K2::GetPinDefaultValuesFromString

Reads in a [FString](API\Runtime\Core\Containers\FString) and gets the values of the pin defaults for that type.

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 void GetPinDefaultValuesFromString
(
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & PinType,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * OwningObject,
    const [FString](API\Runtime\Core\Containers\FString) & NewValue,
    [FString](API\Runtime\Core\Containers\FString) & UseDefaultValue,
    [TObjectPtr](API\Runtime\Core\Delegates\TObjectPtr)< [UObject](API\Runtime\CoreUObject\UObject\UObject) > & UseDefaultObject,
    [FText](API\Runtime\Core\Internationalization\FText) & UseDefaultText,
    bool bPreserveTextIdentity
) const

Remarks

Reads in a FString and gets the values of the pin defaults for that type. This can be passed to DefaultValueSimpleValidation to validate. OwningObject can be null


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library