UEdGraphSchema_K2::ArePinTypesCompatible

Returns true if the two pin types are schema compatible.

Windows
MacOS
Linux

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 ArePinTypesCompatible
(
    const FEdGraphPinType & Output,
    const FEdGraphPinType & Input,
    const UClass * CallingContext,
    bool bIgnoreArray
) const

Remarks

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

Returns

true if the pin types are compatible.

Parameters

Parameter

Description

Output

The output type.

Input

The input type.

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