UAnimationStateMachineSchema::CanRelinkConnectionToPin

Determine if a connection can be relinked to the given pin.

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

References

   
Module AnimGraph
Header /Engine/Source/Editor/AnimGraph/Public/AnimationStateMachineSchema.h
Include #include "AnimationStateMachineSchema.h"
Source /Engine/Source/Editor/AnimGraph/Private/AnimationStateMachineSchema.cpp
virtual const [FPinConnectionResponse](API\Runtime\Engine\EdGraph\FPinConnectionResponse) CanRelinkConnectionToPin
(
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * OldSourcePin,
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * TargetPinCandidate
) const

Remarks

Determine if a connection can be relinked to the given pin. A message describing if the operation can succeed or why the relink operation would fail.

Parameters

Name Description
OldSourcePin The current source pin of the connection.
TargetPinCandidate The target pin of the relink.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library