UAnimationGraphSchema::TryCreateConnection

Try to make a connection between two pins.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

AnimGraph

Header

/Engine/Source/Editor/AnimGraph/Public/AnimationGraphSchema.h

Include

#include "AnimationGraphSchema.h"

Source

/Engine/Source/Editor/AnimGraph/Private/AnimationGraphSchema.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.