Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
- UEdGraphSchema::CreateAutomaticConversionNodeAndConnections()
- UEdGraphSchema_K2::CreateAutomaticConversionNodeAndConnections()
- UAnimationGraphSchema::CreateAutomaticConversionNodeAndConnections()
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 CreateAutomaticConversionNodeAndConnections
&40;
UEdGraphPin &42; A,
UEdGraphPin &42; B
&41; const
Remarks
Try to create an automatic cast or other conversion node node to facilitate a connection between two pins. It makes the cast node, a connection between A and the cast node, and a connection from the cast node to B.two This method is called when a connection is made where CanCreateConnection returned bCanAutoConvert. True if a cast node and connection were made; false if the connection failed and had no side effects.
Parameters
| Name | Description |
|---|---|
| A | The first pin. |
| B | The second pin. |