翻譯人:靈月散人
參考的引擎版本:4.18.3
翻譯内容僅作臨時參考,目的是為了降低無基礎者初期的學習門檻。當書寫、交流、等實際使用時必須以英文為準
英文文檔 | Set Material |
---|---|
翻譯 | 設定材質 |
注解
Changes the material applied to an element of the mesh.
請告訴我該怎麼翻譯
Target is Primitive Component
目标是 元元件
目錄樹:
- 根目錄
- Rendering (渲染)
- Material(材質)
- Rendering (渲染)
1.輸入
參數名 資料類型 注解 Target Primitive Component Object Reference 目标 元元件類型的執行個體對象 “元元件”官方文檔介紹 Element Index Integer The element to access the material of 元素索引 整型 (請告訴我該怎麼翻譯)這個變量是用于多元子材質的ID索引,當一個網格物體對應一個材質時預設0即可 Material Material Interface Object Reference 材質 材質接口類型的執行個體對象
總結
多用于向網格物體替換新的材質。而非改變材質中的某個參數