Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEdGraphSchema
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.
| Name | ArePinsCompatible |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
| Include Path | #include "EdGraph/EdGraphSchema.h" |
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 |