UEdGraphSchema_K2::DropPinOnNode

Some schemas have nodes that support the user dynamically adding pins when dropping a connection on the node

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 [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * DropPinOnNode
(
    [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * InTargetNode,
    const [FName](API\Runtime\Core\UObject\FName) & InSourcePinName,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & InSourcePinType,
    EEdGraphPinDirection InSourcePinDirection
) const

Remarks

Some schemas have nodes that support the user dynamically adding pins when dropping a connection on the node Returns the new pin if created

Parameters

Name Description
InTargetNode Node to check for pin adding support
InSourcePinName Name of the pin being dropped, a new pin of similar name will be constructed
InSourcePinType Type of pin to drop onto the node
InSourcePinDirection Direction of the source pin

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library