UMetasoundEditorGraphSchema::CanCreateConnection

Determine if a connection can be created between two pins.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UEdGraphSchema::CanCreateConnection()

UMetasoundEditorGraphSchema::CanCreateConnection()

References

Module

MetasoundEditor

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundEditorGraphSchema.h

Include

#include "MetasoundEditorGraphSchema.h"

Source

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Private/MetasoundEditorGraphSchema.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.