UEdGraphSchema_K2::ArePinsCompatible

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

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2

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
virtual bool ArePinsCompatible
(
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * PinA,
    const [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * PinB,
    const [UClass](API\Runtime\CoreUObject\UObject\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. true if the pin types and directions are compatible.

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library