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

[Unity 组件参考手册]组件:网格组件之网格渲染器

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

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

跳转到指定楼层
楼主
发表于 2013-2-2 17:37:08 |只看该作者 |倒序浏览
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 Renderer takes the geometry from the Mesh Filter and renders it at the position defined by the object's Transform component.网格渲染器从网格过滤器获得几何形状,并且根据物体的Transform组件的定义位置进行渲染。 [Properties 属性]---------------------------------------------------------------------------    Cast Shadows (Pro only)
    投射阴影(仅专业版)
    If enabled, this Mesh will create shadows when a shadow-creating Light shines on it
    如果启用,当创建光照阴影时Mesh将会创建阴影。
    Receive Shadows (Pro only)
    接受阴影(仅专业版)
    If enabled, this Mesh will display any shadows being cast upon it
    如果启用,网格将会显示对他的任何投射的阴影。
    Materials 材质列表
    A list of Materials to render model with
    渲染模型的材质列表。
    Light Probe Anchor
    灯光探测锚
    A Transform used to determine the interpolation position when the light probe system is used
    当使用光探测系统时,Transform用于决定插值的位置。
    Use Light Probes
    使用光探测器
    Enable probe-based lighting for this mesh
    对网格启用基于探测器的照明。---------------------------------------------------------------------------[Details 细节]Meshes imported from 3D packages can use multiple Materials. For each Material there is an entry in Mesh Renderer's Materials list.网格从3d软件中导入可以使用多种材质,每种材质可以从网格渲染器的材质列表进入。A mesh can receive light from the light probe system if the Use Light Probes option is enabled (see the light probes manual page for further details). A single point is used as the mesh's notional position for light probe interpolation. By default, this is the centre of the mesh's bounding box, but you can override this by dragging a Transform to the Light Probe Anchor property. It may be useful to set the anchor in cases where an object contains two adjoining meshes; since each mesh has a separate bounding box, the two will be lit discontinuously at the join by default. However, if you set both meshes to use the same anchor point, they will be consistently lit.如果Use Light Probes选项被启用,网格可以接受灯光探测系统光照(参见灯光探测器手册页面进一步阅读)。单个点被用作与光照探测插值上网格的理论位置。默认情况下,这是网格的边界框的中心,但是你可以通过拖拽Transform对象到Light Probe Anchor属性进行重写。他在一个对象包含两个相邻的网格中设置锚这种情况下很有用, 但是,如果你使用相同的锚点设置来设置这两个网格,他们将会持续点亮。
【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

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

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-9-20 11:57 , Processed in 0.100179 second(s), 32 queries .

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

© 2008-2019 Narkii Inc.

回顶部