UAnimationStateMachineSchema::CanCreateConnection

Determine if a connection can be created between two pins.

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) CanCreateConnection
(
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * A,
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * B
) const

Remarks

Determine if a connection can be created between two pins. An empty string if the connection is legal, otherwise a message describing why the connection would fail.

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