UObject::LoadConfig

Imports property values from an .ini file.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

void LoadConfig
(
    UClass * ConfigClass,
    const TCHAR * Filename,
    uint32 PropagationFlags,
    class FProperty * PropertyToLoad
)

Remarks

Imports property values from an .ini file.

Parameters

Parameter

Description

Class

the class to use for determining which section of the ini to retrieve text values from

Filename

indicates the filename to load values from; if not specified, uses ConfigClass's ClassConfigName

PropagationFlags

indicates how this call to LoadConfig should be propagated; expects a bitmask of UE4::ELoadConfigPropagationFlags values.

PropertyToLoad

if specified, only the ini value for the specified property will be imported.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss