UEAzSpeech 插件使用教程
1. 项目的目录结构及介绍
UEAzSpeech 是一个集成 Azure Speech Cognitive Services 到 Unreal Engine 的插件。以下是该项目的目录结构及各部分的简要介绍:
UEAzSpeech/
├── Config/
│ ├── Config.Resources
│ └── Config.Source
├── Resources/
│ ├── Resources.Source
│ └── Resources.gitattributes
├── Source/
│ ├── Source.gitattributes
│ └── Source.gitignore
├── AzSpeech.uplugin
├── LICENSE
├── README.md
- Config/: 包含插件的配置文件。
- Resources/: 包含插件所需的资源文件。
- Source/: 包含插件的源代码文件。
- AzSpeech.uplugin: 插件的主配置文件。
- LICENSE: 插件的许可证文件。
- README.md: 插件的说明文档。
2. 项目的启动文件介绍
UEAzSpeech 插件的启动文件是 AzSpeech.uplugin
。该文件是一个 JSON 格式的配置文件,定义了插件的基本信息和依赖关系。以下是该文件的部分内容示例:
{
"FileVersion": 3,
"Version": 1,
"VersionName": "1.0",
"FriendlyName": "AzSpeech",
"Description": "An Unreal Engine plugin that integrates Azure Speech Cognitive Services into the Engine.",
"Category": "Speech",
"CreatedBy": "lucoiso",
"CreatedByURL": "https://github.com/lucoiso",
"DocsURL": "",
"MarketplaceURL": "",
"SupportURL": "",
"EnabledByDefault": false,
"CanContainContent": false,
"IsBetaVersion": false,
"Installed": false,
"Modules": [
{
"Name": "AzSpeech",
"Type": "Runtime",
"LoadingPhase": "Default",
"WhitelistPlatforms": [
"Win64",
"Mac",
"Linux"
]
}
]
}
3. 项目的配置文件介绍
UEAzSpeech 插件的配置文件主要位于 Config/
目录下。以下是一些关键配置文件的介绍:
- Config.Resources: 包含插件所需的资源配置信息。
- Config.Source: 包含插件的源代码配置信息。
这些配置文件通常包含插件运行所需的各种参数和设置,例如 API 密钥、服务地址等。具体内容需要根据实际使用情况进行配置。
以上是 UEAzSpeech 插件的基本使用教程,涵盖了项目的目录结构、启动文件和配置文件的介绍。希望这些信息能帮助你更好地理解和使用该插件。