朱峰社區(qū)首頁 朱峰社區(qū)

搜索資源 注冊|登陸

等待

返回 展開菜單
按功能 按軟件

unity3d視頻教程

unity3d視頻教程

包含11節(jié)視頻教程

從零基礎(chǔ)學習unity3d游戲引擎,簡單易學的視頻教程,讓你快速掌握unity3d,并喜歡上游戲開發(fā)的樂趣。

關(guān)閉

Unity組件:Mesh Renderer 網(wǎng)格渲染器

關(guān)注:3582 留言:0 樓主:3D場景次時代求職 一年經(jīng)驗 發(fā)帖時間:15年11月16日

3D場景次時代求職 一年經(jīng)驗

普通會員

3D場景次時代求職 一年經(jīng)驗

社區(qū)新人:1級

關(guān)注2147人

  • 性別

  • 年齡

    25

  • 積分

    1

  • 登陸

    1

  • 發(fā)帖

    1

間隔線

The Mesh Renderer takes the geometry from the Mesh Filter and renders it at the position defined by the object's Transform component.

網(wǎng)格渲染器從網(wǎng)格過濾器獲得幾何形狀,并且根據(jù)物體的Transform組件的定義位置進行渲染。

Properties 屬性
  • Cast Shadows (Pro only)
    投射陰影(僅專業(yè)版)
    If enabled, this Mesh will create shadows when a shadow-creating Light shines on it
    如果啟用,當創(chuàng)建光照陰影時Mesh將會創(chuàng)建陰影。
  • Receive Shadows (Pro only)
    接受陰影(僅專業(yè)版)
    If enabled, this Mesh will display any shadows being cast upon it
    如果啟用,網(wǎng)格將會顯示對他的任何投射的陰影。
  • Materials 材質(zhì)列表
    A list of Materials to render model with
    渲染模型的材質(zhì)列表。
  • Light Probe Anchor
    燈光探測錨
    A Transform used to determine the interpolation position when the light probe system is used
    當使用光探測系統(tǒng)時,Transform用于決定插值的位置。
  • Use Light Probes
    使用光探測器
    Enable probe-based lighting for this mesh
    對網(wǎng)格啟用基于探測器的照明。
Details 細節(jié)

Meshes imported from 3D packages can use multiple Materials. For each Material there is an entry in Mesh Renderer's Materials list.

網(wǎng)格從3D軟件中導(dǎo)入可以使用多種材質(zhì),每種材質(zhì)可以從網(wǎng)格渲染器的材質(zhì)列表進入。

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選項被啟用,網(wǎng)格可以接受燈光探測系統(tǒng)光照(參見燈光探測器手冊頁面進一步閱讀)。單個點被用作與光照探測插值上網(wǎng)格的理論位置。默認情況下,這是網(wǎng)格的邊界框的中心,但是你可以通過拖拽Transform對象到Light Probe Anchor屬性進行重寫。他在一個對象包含兩個相鄰的網(wǎng)格中設(shè)置錨這種情況下很有用, 但是,如果你使用相同的錨點設(shè)置來設(shè)置這兩個網(wǎng)格,他們將會持續(xù)點亮。

贊0 踩0

未知用戶

2005-2025 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號-1
2005-2025 ZhuFeng Community All Rights Reserved

VIP

朱峰社區(qū)微信公眾號

回頂部

1.復(fù)制文本發(fā)給您的QQ好友或群、微信等;好友點擊鏈接以后,轉(zhuǎn)發(fā)就成功了。 2.如朋友點擊您的鏈接,您需要需刷新一下才行;同一個好友僅能點擊一次。
購買VIP,觀看所有收費教程。