UEdGraphSchema_K2::ArePinTypesCompatible

Returns true if the two pin types 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 ArePinTypesCompatible
(
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & Output,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & Input,
    const [UClass](API\Runtime\CoreUObject\UObject\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. true if the pin types are compatible.

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library