RequiresCompleteValueForPostConstruction

RequiresCompleteValueForPostConstruction

#Overview

name: RequiresCompleteValueForPostConstruction

The value of this variable can be defined or overridden in .ini config files. 1 .ini config file referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:3492, section: [/Script/Engine.BlueprintGeneratedClass]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp:132

Scope (from outer to inner):

file
namespace    UE::Runtime::Engine::Private
function     static bool RequiresCompleteValueForPostConstruction

Source code excerpt:

		}

		static bool RequiresCompleteValueForPostConstruction(FProperty* Property)
		{
			static TSet<FProperty*> PropertiesRequiringCompleteValueInitialization;

			static bool bIsInitialized = false;
#if WITH_EDITOR
			static bool bNeedsDelegateRegistration = true;

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp:1013

Scope (from outer to inner):

file
function     bool UBlueprintGeneratedClass::BuildCustomPropertyListForPostConstruction

Source code excerpt:

		{
			// Some properties require a full value comparison; check for those cases here.
			const bool bAlwaysUseCompleteValue = FBlueprintGeneratedClassUtils::RequiresCompleteValueForPostConstruction(Property);

			for (int32 Idx = 0; Idx < Property->ArrayDim; Idx++)
			{
				const uint8* PropertyValue = Property->ContainerPtrToValuePtr<uint8>(DataPtr, Idx);
				const uint8* DefaultPropertyValue = Property->ContainerPtrToValuePtrForDefaults<uint8>(InStruct, DefaultDataPtr, Idx);