Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
Description
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.
Virtual Inheritance
- UEdGraphSchema::ArePinsCompatible → UEdGraphSchema_K2::ArePinsCompatible
| Name | ArePinsCompatible |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
| Include Path | #include "EdGraphSchema_K2.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
virtual bool ArePinsCompatible
(
const UEdGraphPin * PinA,
const UEdGraphPin * PinB,
const UClass * CallingContext,
bool bIgnoreArray
) const
true if the pin types and directions are compatible.
Parameters
| Name | Remarks |
|---|---|
| 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 |