UEdGraphSchema_K2::ArePinsCompatible

Returns true if the types and directions of two pins are schema compatible.

Windows
MacOS
Linux

Override Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h

Include

#include "EdGraphSchema_K2.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp

Syntax

virtual bool ArePinsCompatible
(
    const UEdGraphPin * PinA,
    const UEdGraphPin * PinB,
    const UClass * CallingContext,
    bool bIgnoreArray
) const

Remarks

Returns true if the types and directions of two pins are schema compatible. Handles outputting a more derived type to an input pin expecting a less derived type.

Returns

true if the pin types and directions are compatible.

Parameters

Parameter

Description

PinA

The pin a.

PinB

The pin b.

CallingContext

(optional) The calling context (required to properly evaluate pins of type Self)

bIgnoreArray

(optional) Whether or not to ignore differences between array and non-array types

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss