UEdGraphSchema_K2::TrySetDefaultObject

Sets the object to the specified pin

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 TrySetDefaultObject
(
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) & Pin,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * NewDefaultObject,
    bool bMarkAsModified
) const

Remarks

Sets the object to the specified pin


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library