UAnimationGraphSchema::CreateAutomaticConversionNodeAndConnections

Try to create an automatic cast or other conversion node node to facilitate a connection between two pins.

Windows
MacOS
Linux

Override Hierarchy

References

Module

AnimGraph

Header

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

Include

#include "AnimationGraphSchema.h"

Source

/Engine/Source/Editor/AnimGraph/Private/AnimationGraphSchema.cpp

Syntax

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

Remarks

Try to create an automatic cast or other conversion node node to facilitate a connection between two pins. It makes the cast node, a connection between A and the cast node, and a connection from the cast node to B.two This method is called when a connection is made where CanCreateConnection returned bCanAutoConvert.

Returns

True if a cast node and connection were made; 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