ECanCreateConnectionResponse

This is the type of response the graph editor should take when making a connection

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h

Include

#include "EdGraph/EdGraphSchema.h"

Syntax

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_MAX,
}

Values

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_MAX

Remarks

This is the type of response the graph editor should take when making a connection

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss