UEdGraphSchema::CreatePromotedConnection

Try to create a promotion from one type to another in order to make a connection between two pins.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

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

Syntax

virtual bool CreatePromotedConnection
(
    UEdGraphPin * A,
    UEdGraphPin * B
) const

Remarks

Try to create a promotion from one type to another in order to make a connection between two pins.

Returns

True if the promotion and connection were successful; False if the connection failed.

Parameters

Parameter

Description

A

The first pin.

B

The second pin.