查看: 2485|回复: 0
打印 上一主题 下一主题

[Unity 组件参考手册]组件:网格组件之网格过滤器

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-2-2 17:34:48 |只看该作者 |倒序浏览
3D Meshes are the main graphics primitive of Unity. Various components exist in Unity to render regular or skinned meshes, trails or 3D lines.3D网格是Unity中最重要的图形元素。在Unity中存在多种组件用于渲染标准网格或者蒙皮网格、拖尾或者3D线条。
下面介绍网格过滤器:The Mesh Filter takes a mesh from your assets and passes it to the Mesh Renderer for rendering on the screen.网格过滤器用于从你的资源中获取网格信息(Mesh)并将其传递到用于将其渲染到屏幕的网格渲染器当中。
A Mesh Filter combined with a Mesh Renderer makes the model appear on screen.
网格过滤器 与 网格渲染器 联合使用,使模型显示到屏幕上。
【Properties 属性】-----------------------------------------------------------------------------Mesh 网格
    Reference to a mesh that will be rendered. The Mesh is located in your Project Folder.
    引用到将要被渲染的网格(mesh)。这个网格位于您的项目文件夹中。 【Details 细节】When importing mesh assets, Unity automatically creates a Skinned Mesh Renderer if the mesh is skinned, or a Mesh Filter along with a Mesh Renderer, if it is not.当导入网格资源时,如果这个网格是蒙皮的,Unity 将自动创建一个蒙皮网格渲染器。如果不是蒙皮的,则创建一个网格过滤器和一个网格渲染器。To see the Mesh in your scene, add a Mesh Renderer to the GameObject. It should be added automatically, but you will have to manually re-add it if you remove it from your object. If the Mesh Renderer is not present, the Mesh will still exist in your scene (and computer memory) but it will not be drawn.要想在场景中看到这个网格(mesh),还需要为游戏对象(GameObject)添加一个网格渲染器(Mesh Renderer),它应该是自动被添加的。但是如果你将它从你的对象中移除。你必须手动重新添加它。如果网格渲染器(Mesh Renderer)不存在,这个网格仍将存在于你的场景中。但是它将不会被绘制。 【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-5-5 10:10 , Processed in 0.083404 second(s), 33 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部