Navigation
Unreal Engine C++ API Reference > Editor > KismetCompiler > FKismetCompilerUtilities
References
Module | KismetCompiler |
Header | /Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h |
Include | #include "KismetCompilerMisc.h" |
Source | /Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp |
static bool IsTypeCompatibleWithProperty ( [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * SourcePin, [FProperty](API\Runtime\CoreUObject\UObject\FProperty) * Property, [FCompilerResultsLog](API\Editor\UnrealEd\Kismet2\FCompilerResultsLog) & MessageLog, const [UEdGraphSchema_K2](API\Editor\BlueprintGraph\UEdGraphSchema_K2) * Schema, [UClass](API\Runtime\CoreUObject\UObject\UClass) * SelfClass )
Remarks
Tests to see if a pin is schema compatible with a property.
Tests to see if a pin is schema compatible with a property true if the pin type/direction is compatible with the property.
Parameters
Name | Description |
---|---|
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). |