FBlueprintCompilationManager::GetDefaultValue

Returns the Default Value associated with ForClass::Property, if ForClass is currently being compiled this function can look at the old version of the CDO and read the default value from there

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintCompilationManager

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintCompilationManager.h
Include #include "BlueprintCompilationManager.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintCompilationManager.cpp
static bool GetDefaultValue
(
    const [UClass](API\Runtime\CoreUObject\UObject\UClass) * ForClass,
    const [FProperty](API\Runtime\CoreUObject\UObject\FProperty) * Property,
    [FString](API\Runtime\Core\Containers\FString) & OutDefaultValueAsString
)

Remarks

Returns the Default Value associated with ForClass::Property, if ForClass is currently being compiled this function can look at the old version of the CDO and read the default value from there


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library