FKismetCompilerUtilities::IsTypeCompatibleWithProperty

Tests to see if a pin is schema compatible with a property.

Windows
MacOS
Linux

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h

Include

#include "KismetCompilerMisc.h"

Source

/Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp

Syntax

static bool IsTypeCompatibleWithProperty
(
    UEdGraphPin * SourcePin,
    FProperty * Property,
    FCompilerResultsLog & MessageLog,
    const UEdGraphSchema_K2 * Schema,
    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

Returns

true if the pin type/direction is compatible with the property.

Parameters

Parameter

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss