FbxImporter 插件
Out-of-the-box the Import System includes the FbxImporter plugin that allows importing of FBX models.开箱即用导入系统包括允许导入 FBX 模型的 FbxImporter 插件。
To use the FbxImporter plugin, just load it via the plugin_load console command or the following command line option on the application start-up:要使用 FbxImporter 插件,只需在应用程序启动时通过 plugin_load 控制台命令或以下命令行选项加载它:
-extern_plugin FbxImporter
Compile FbxImporter编译 FbxImporter#
If you somehow change or extend the FbxImporter plugin, you should recompile it before running to make the changes available.如果您以某种方式更改或扩展了 FbxImporter 插件,您应该在运行之前重新编译它以使更改可用。
FBX SDK is required for recompiling the FbxImporter plugin:重新编译 FbxImporter 插件需要 FBX SDK:
- Get FBX SDK.得到 FBX SDK。
- Set the path to the <FBX SDK> folder in the FBXROOT environment variable.在 FBXROOT 环境变量中设置 <FBX SDK> 文件夹的路径。
-
Compile the plugin in one of the following ways:通过以下方式之一编译插件:
-
By using the build script:通过使用构建脚本:
C:\UnigineSDK\source>build.py --plugin FbxImporter
- Via Microsoft Visual Studio: go to <UnigineSDK>\source\plugins\Import\FbxImporter, open the fbximporter_vs2015.vcxproj project and build it.通过Microsoft Visual Studio:转到<UnigineSDK>\source\plugins\Import\FbxImporter,打开fbximporter_vs2015.vcxproj项目并构建它。
-
最新更新:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)