Blueprints Access To GConfig
Provides blueprint functionality for all common GConfig operations. Including:
Getters
- GetString
- GetText
- GetBool
- GetInt
- GetFloat
- GetArray
- GetColor
- GetVector2D
- GetVector
- GetVector4
- GetRotator
Setters
- SetString
- SetText
- SetBool
- SetInt
- SetFloat
- SetArray
- SetColor
- SetVector2D
- SetVector
- SetVector4
- SetRotator
Misc
- Flush
Target configuration file (.ini) is available through each node’s dropdown or via an EConfigIniFileNames node from your blueprints.
Further information on this plugin, including documentation can be found at:
蓝图访问GConfig
为所有常见的GConfig操作提供蓝图功能。 包括:
盖特斯
- 获取字符串
- GetText
- [医]GetBool
- 获取信息
- [医]浮游物
- [医]阵列
- [医]颜色
- GetVector2D
- 盖帽,盖帽
- GetVector4
- [医]脱氧核糖核酸
设定者
- SetString的
- N.移民,移民
- SetBool,SetBool
- SetInt
- [医]集装袋
- SetArray
- SetColor,SetColor
- SetVector2D
- SetVector,SetVector
- SetVector4
- 固定器,固定器
杂项
- 冲水,冲水
目标配置文件(。ini)可通过每个节点的下拉列表或蓝图中的EConfigIniFileNames节点获得。
有关此插件的更多信息,包括文档,请访问:
What is this?
This plugin provides access from blueprints to the data that lives in the Unreal Engine 4 .ini files.
Why would you need this?
Whilst I was an engineer at Epic Games, I worked a lot on the Config Cache (The ini system). The Config Cache is a core part of the engine and is used by almost every module in one way or another. E.g. To enable voice in your project, you would have had to make a config change to enable this. The Engine’s Online Voice interface would pick it up like so:
GConfig->GetBool(TEXT(“OnlineSubsystem”), TEXT(“bHasVoiceEnabled”), bHasVoiceEnabled, GEngineIni)
In code this is easily accessibile through GConfig. A quick find in the 4.26 source shows that there are ~2700 references to this. However, as far as I can see, there has been no exposure of the common GConfig functionality to Blueprints. That is where this plugin comes in.
Using the plugin…
Given that the GConfig system allows the developer to access important config information, I have exposed the most basic functionality via this plugin. These have been categorised into three categories: Getters, Setters, and Misc.
這是什麼啊?
此插件提供从蓝图到虚幻引擎4中存在的数据的访问。ini文件。
你为什么需要这个?
当我是史诗游戏的工程师时,我在配置缓存(ini系统)上做了很多工作。 配置缓存是引擎的核心部分,几乎每个模块都以这种或那种方式使用。 例如,要在项目中启用语音,您必须进行配置更改才能启用此功能。 引擎的在线语音界面会选择 就像这样:
GConfig->GetBool(TEXT(”OnlineSubsystem”),TEXT(”bHasVoiceEnabled”),bHasVoiceEnabled,GEngineIni)
在代码中,这很容易通过GConfig访问。 在4.26源代码中快速找到显示有~2700个引用。 但是,据我所知,没有将通用GConfig功能暴露给蓝图。 这就是这个插件的用武之地。
使用插件…
鉴于GConfig系统允许开发人员访问重要的配置信息,我已经通过这个插件公开了最基本的功能。 这些被分为三类:Getter、Setter和Misc。
评论(0)