Navigation
API > API/Editor > API/Editor/KismetCompiler > API/Editor/KismetCompiler/FKismetCompilerUtilities
Description
Tests to see if a pin is schema compatible with a property.
Tests to see if a pin is schema compatible with a property
| Name | IsTypeCompatibleWithProperty |
| Type | function |
| Header File | /Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h |
| Include Path | #include "KismetCompilerMisc.h" |
| Source | /Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp |
static bool IsTypeCompatibleWithProperty
(
UEdGraphPin * SourcePin,
FProperty * Property,
FCompilerResultsLog & MessageLog,
const UEdGraphSchema_K2 * Schema,
UClass * SelfClass
)
true if the pin type/direction is compatible with the property.
Parameters
| Name | Remarks |
|---|---|
| SourcePin | If non-null, source object. |
| Property | The property to check. |
| MessageLog | The message log. |
| Schema | Schema. |
| SelfClass | Self class (needed for pins marked Self). |