UAnimationGraphSchema::TryCreateConnection

Try to make a connection between two pins.

Unreal Engine C++ API Reference > Editor > AnimGraph > UAnimationGraphSchema

References

   
Module AnimGraph
Header /Engine/Source/Editor/AnimGraph/Public/AnimationGraphSchema.h
Include #include "AnimationGraphSchema.h"
Source /Engine/Source/Editor/AnimGraph/Private/AnimationGraphSchema.cpp
virtual bool TryCreateConnection
(
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * A,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * B
) const

Remarks

Try to make a connection between two pins. True if a connection was made/broken (graph was modified); false if the connection failed and had no side effects.

Parameters

Name Description
A The first pin.
B The second pin.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library