Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
- UEdGraphSchema::CreatePromotedConnection()
- UEdGraphSchema_K2::CreatePromotedConnection()
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 bool CreatePromotedConnection
&40;
UEdGraphPin &42; A,
UEdGraphPin &42; B
&41; const
Remarks
Try to create a promotion from one type to another in order to make a connection between two pins. True if the promotion and connection were successful; False if the connection failed.
Parameters
| Name | Description |
|---|---|
| A | The first pin. |
| B | The second pin. |