Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/EdGraph > API/Runtime/Engine/EdGraph/UEdGraphSchema
- UEdGraphSchema::CreatePromotedConnection()
- UEdGraphSchema_K2::CreatePromotedConnection()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
| Include | #include "EdGraph/EdGraphSchema.h" |
| Source | /Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphSchema.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. |