FKismetCompilerUtilities::CreatePrimitiveProperty

Helper function for creating property for primitive types.

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) * CreatePrimitiveProperty
(
    [FFieldVariant](API\Runtime\CoreUObject\UObject\FFieldVariant) PropertyScope,
    const [FName](API\Runtime\Core\UObject\FName) & ValidatedPropertyName,
    const [FName](API\Runtime\Core\UObject\FName) & PinCategory,
    const [FName](API\Runtime\Core\UObject\FName) & PinSubCategory,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * PinSubCategoryObject,
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * SelfClass,
    bool bIsWeakPointer,
    const class [UEdGraphSchema_K2](API\Editor\BlueprintGraph\UEdGraphSchema_K2) * Schema,
    [FCompilerResultsLog](API\Editor\UnrealEd\Kismet2\FCompilerResultsLog) & MessageLog
)

Remarks

Helper function for creating property for primitive types. Used only to create inner peroperties for FArrayProperty, FSetProperty, and FMapProperty:


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library