FKismetCompilerUtilities::CreatePropertyOnScope

Creates a property named PropertyName of type PropertyType in the Scope or returns NULL if the type is unknown, but does _not_ link that property in

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) * CreatePropertyOnScope
(
    [UStruct](API\Runtime\CoreUObject\UObject\UStruct) * Scope,
    const [FName](API\Runtime\Core\UObject\FName) & PropertyName,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & Type,
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * SelfClass,
    EPropertyFlags PropertyFlags,
    const class [UEdGraphSchema_K2](API\Editor\BlueprintGraph\UEdGraphSchema_K2) * Schema,
    [FCompilerResultsLog](API\Editor\UnrealEd\Kismet2\FCompilerResultsLog) & MessageLog,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * SourcePin
)

Remarks

Creates a property named PropertyName of type PropertyType in the Scope or returns NULL if the type is unknown, but does not link that property in


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library