UEdGraphSchema_K2::SetPinDefaultValueAtConstruction

Sets the pin defaults, but not autogenerated defaults, at pin construction time.

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 SetPinDefaultValueAtConstruction
(
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * Pin,
    const [FString](API\Runtime\Core\Containers\FString) & DefaultValueString
) const

Remarks

Sets the pin defaults, but not autogenerated defaults, at pin construction time. This is like TrySetDefaultValue but does not do validation or callbacks


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library