UMaterialGraphSchema::TryCreateConnection

Try to make a connection between two pins.

Windows
MacOS
Linux

Override Hierarchy

UEdGraphSchema::TryCreateConnection()

UMaterialGraphSchema::TryCreateConnection()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h

Include

#include "MaterialGraph/MaterialGraphSchema.h"

Source

/Engine/Source/Editor/UnrealEd/Private/MaterialGraphSchema.cpp

Syntax

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

Remarks

Try to make a connection between two pins.

Returns

True if a connection was made/broken (graph was modified); false if the connection failed and had no side effects.

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