Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include | #include "EdGraphSchema_K2.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
virtual const [FPinConnectionResponse](API\Runtime\Engine\EdGraph\FPinConnectionResponse) CanCreateConnection ( const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * A, const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * B ) const
Remarks
Determine if a connection can be created between two pins. An empty string if the connection is legal, otherwise a message describing why the connection would fail.
Parameters
Name | Description |
---|---|
A | The first pin. |
B | The second pin. |