Materials tab
Limitations when importing from other applications

Supported Model file formats

Note: This section provides information about proprietary file formats that use FBX conversion. However, there are two file formats that do not use FBX as an intermediary: SketchUp and SpeedTree. For more information about importing these file formats, see the SketchUp Settings and SpeedTree topics.

Unity 支持从两种不同类型的文件导入网格动画

Unity 可以导入和使用这两种类型的文件,每种文件都有各自的优缺点。

导出的 3D 格式

Unity can read .fbx, .dae (Collada), .3ds, .dxf, and .obj files. For information about exporting 3D files, see Exporting from other applications or read the documentation for your 3D modeling software.

优点:

  • 可以只导入所需的模型部分,而无需将整个模型导入 Unity。
  • 导出的通用文件通常小于专有的同等文件。
  • 使用导出的通用文件有利于采用模块化方法(例如,为碰撞类型或交互使用不同的组件)。
  • 可以从 Unity 不直接支持的软件导入这些文件。
  • 可以将已导出的 3D 文件(.fbx、.obj)重新导入 3D 建模软件,以此确保所有信息都已正确导出。

缺点:

  • 如果原始文件发生更改,则必须手动重新导入模型。
  • 需要跟踪源文件和导入 Unity 的文件之间的版本。

专用的 3D 应用程序文件

Unity 可以从以下 3D 建模软件导入专有文件:

警告:Unity 在导入过程中将专有文件转换为 .fbx 文件。但是,建议导出 FBX,而不是直接保存为工程应用中的默认格式。建议不要在生产中直接使用原生文件格式。

优点:

  • 如果原始模型更改,Unity 会自动重新导入文件。
  • 这最初很简单;但是在开发后期会变得更复杂。

缺点:

  • 必须在使用 Unity 项目的每台计算机上安装所用软件的授权副本。
  • 使用 Unity 项目的每台计算机上的软件版本应相同。使用不同的软件版本可能会在导入 3D 模型时导致错误或意外行为。
  • 文件可能会因不必要的数据而变得臃肿。
  • 大文件可能会降低 Unity 项目导入或资源重新导入的速度,因为在将模型导入 Unity 时必须运行 3D 建模软件作为后台进程。
  • 在导入过程中,Unity 会在内部将专有文件导出到 .fbx。因此难以验证 .fbx 数据和进行故障排除。

Note: Assets saved as .ma, .mb, .max, .c4d, or .blend files fail to import unless you have the corresponding 3D modeling software installed on your computer. This means that everybody working on your Unity Project must have the correct software installed. For example, if you use the Autodesk® Maya LT™ license to create ExampleModel.mb and copy it into your Project, anyone else opening that Project also needs to have Autodesk® Maya LT™ installed on their computer too.


Materials tab
Limitations when importing from other applications
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961