UEdGraphSchema_EnvironmentQuery::CanCreateConnection

Determine if a connection can be created between two pins.

Windows
MacOS
Linux

Override Hierarchy

UEdGraphSchema::CanCreateConnection()

UEdGraphSchema_EnvironmentQuery::CanCreateConnection()

References

Module

EnvironmentQueryEditor

Header

/Engine/Source/Editor/EnvironmentQueryEditor/Classes/EdGraphSchema_EnvironmentQuery.h

Include

#include "EdGraphSchema_EnvironmentQuery.h"

Source

/Engine/Source/Editor/EnvironmentQueryEditor/Private/EdGraphSchema_EnvironmentQuery.cpp

Syntax

virtual const FPinConnectionResponse CanCreateConnection
(
    const UEdGraphPin * A,
    const UEdGraphPin * B
) const

Remarks

Determine if a connection can be created between two pins.

Returns

An empty string if the connection is legal, otherwise a message describing why the connection would fail.

Parameters

Parameter

Description

A

The first pin.

B

The second pin.

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