FKismetCompilerUtilities::FindPropertyInScope

Finds a property by name, starting in the specified scope; Validates property type and returns NULL along with emitting an error if there is a mismatch.

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 [FProperty](API\Runtime\CoreUObject\UObject\FProperty) * FindPropertyInScope
(
    [UStruct](API\Runtime\CoreUObject\UObject\UStruct) * Scope,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * Pin,
    [FCompilerResultsLog](API\Editor\UnrealEd\Kismet2\FCompilerResultsLog) & MessageLog,
    const [UEdGraphSchema_K2](API\Editor\BlueprintGraph\UEdGraphSchema_K2) * Schema,
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * SelfClass,
    bool & bIsSparseProperty
)

Remarks

Finds a property by name, starting in the specified scope; Validates property type and returns NULL along with emitting an error if there is a mismatch.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library