Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEdGraphSchema
Description
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.
| Name | CreateAutomaticConversionNodeAndConnections |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
| Include Path | #include "EdGraph/EdGraphSchema.h" |
| Source | /Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphSchema.cpp |
virtual bool CreateAutomaticConversionNodeAndConnections
(
UEdGraphPin * A,
UEdGraphPin * B
) const
True if a cast node and connection were made; false if the connection failed and had no side effects.
Parameters
| Name | Remarks |
|---|---|
| A | The first pin. |
| B | The second pin. |