Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
Include |
#include "EdGraph/EdGraphSchema.h" |
enum ECanCreateConnectionResponse
{
CONNECT_RESPONSE_MAKE,
CONNECT_RESPONSE_DISALLOW,
CONNECT_RESPONSE_BREAK_OTHERS_A,
CONNECT_RESPONSE_BREAK_OTHERS_B,
CONNECT_RESPONSE_BREAK_OTHERS_AB,
CONNECT_RESPONSE_MAKE_WITH_CONVERSION_NODE,
CONNECT_RESPONSE_MAKE_WITH_PROMOTION,
CONNECT_RESPONSE_MAX,
}
Name |
Description |
---|---|
CONNECT_RESPONSE_MAKE |
Make the connection; there are no issues (message string is displayed if not empty). |
CONNECT_RESPONSE_DISALLOW |
Cannot make this connection; display the message string as an error. |
CONNECT_RESPONSE_BREAK_OTHERS_A |
Break all existing connections on A and make the new connection (it's exclusive); display the message string as a warning/notice. |
CONNECT_RESPONSE_BREAK_OTHERS_B |
Break all existing connections on B and make the new connection (it's exclusive); display the message string as a warning/notice. |
CONNECT_RESPONSE_BREAK_OTHERS_AB |
Break all existing connections on A and B, and make the new connection (it's exclusive); display the message string as a warning/notice. |
CONNECT_RESPONSE_MAKE_WITH_CONVERSION_NODE |
Make the connection via an intermediate cast node, or some other conversion node. |
CONNECT_RESPONSE_MAKE_WITH_PROMOTION |
Make the connection by promoting a lower type to a higher type. |
CONNECT_RESPONSE_MAX |
This is the type of response the graph editor should take when making a connection