注意:这些设置用于导入 SpeedTree 中创建的模型。如需了解在其他 3D 建模应用程序中创建的模型和动画的信息,请参阅 Model Import Settings 窗口。
将 SpeedTree 文件放在 Unity 项目的 Assets 文件夹中时,Unity 会自动导入这些文件并将它们存储为 Unity 资源。要在 Inspector 中查看导入设置,请在 Project 窗口中单击该文件。要自定义 Unity 导入所选文件的方式,请使用此窗口的 Model 和 Materials 选项卡上的相应属性:
Unity 采用与其他资源相同的处理方式来识别和导入 SpeedTree 模型资源。如果使用的是 SpeedTree Modeler 7,请确保使用 Unity 版本的 Modeler 重新保存 .spm
文件。如果使用的是 SpeedTree Modeler 8,请将 .st
文件直接保存到 Unity Project 文件夹中。SpeedTree 导入器生成一个配置了 LODGroup 组件的预制件。可以在场景中将此预制件实例化为普通的预制件实例,也可以选择此预制件作为树原型并在地形上对其进行绘制。
可以提取材质或将它们嵌入 SpeedTree 模型中。还可以调整材质在 SpeedTree 模型中的贴图方式。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.