中EN

UDeveloperSettings (API)

Markdown2 KB 原始文件

source: https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/DeveloperSettings/UDeveloperSettings ; https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/DeveloperSettings ; https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/DeveloperSettings?application_version=5.8 version: Unreal Engine 5.8 API Reference + Unreal Python 5.8 fetched: 2026-10-11

Excerpts

  • UDeveloperSettings: The base class of any auto discovered settings object. UCLASS(Abstract, MinimalAPI) class UDeveloperSettings : public UObject. Header Engine/DeveloperSettings.h, module DeveloperSettings (Runtime).
  • Module classes: UDeveloperSettingsBackedByCVars (some or all settings stored in console variables instead of config variables); UPlatformSettings (per platform settings); UPlatformSettingsManager.
  • Derived classes include UAssetManagerSettings, UGameFeaturesSubsystemSettings, UNetworkSettings, URendererSettings, UGameplayTagsDeveloperSettings, UStateTreeSettings, UWorldPartitionSettings ...
  • GetContainerName(): Gets the settings container name for the settings, either Project or Editor.
  • GetCategoryName(): Gets the category for the settings, some high level grouping like, Editor, Engine, Game...etc.
  • GetSectionName(): The unique name for your section of settings, uses the class's FName.
  • GetSectionText(): uses the classes DisplayName by default. GetSectionDescription(): uses the classes ToolTip by default.
  • GetCustomSettingsWidget(): only for very custom situations. SupportsAutoRegistration(): Whether or not this class supports auto registration or if the settings have a custom setup.
  • OnSettingChanged(): delegate to monitor for property changes.
  • ExportValuesToConsoleVariables / ImportConsoleVariableValues: properties with 'ConsoleVariable' meta data.
  • Related: ISettingsModule::RegisterSettings(ContainerName, CategoryName, SectionName, DisplayName, Description, TWeakObjectPtr SettingsObject) (5.7 API) — manual registration.

引用这一章的笔记

输入关键词开始搜索

滚轮或双指缩放 · 拖动平移 · 双击放大 / 还原