UEdGraphSchema::ArePinsCompatible

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h

Include

#include "EdGraph/EdGraphSchema.h"

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