- HoloLens Beginner's Guide
- Jason Odom
- 248字
- 2021-07-02 23:35:17
Adding a little color
Now, we have a platform. However, it is just a boring white platform at the moment; let's fix that. We will now create a material and drag it onto the platform in our scene view:

A colorless platform
Let's fix that!:
- In our Project tab, right-click on the Assets folder. Hover over the Create option at the top of the menu, and click on the Folder option in the submenu:

- Name this folder Materials.
- Select the Materials folder in the left panel of the Project view.
- With this folder selected, click on the Create button.
- Select Materials from the pop-up menu.
- When the new material appears, the name text is highlighted, letting you know that you should name it. Name the new material Platform.
We now have a new material waiting for us to change from the boring default white. There is quite an intimidating number of properties to control for a first-time developer. For now, though, we will keep this simple and change the color only.
- Ensure that the Platform material is selected:

- With the material selected, let's take a look at our material in Inspector:

- Click on the Color Box next to the heading Albedo (the one with the icon of the dropper next to it), as follows:

- When the Color Picker dialog appears, change the RGB values to R= 25, G= 40, and B= 248. This will change the color we are using to deep blue:

推薦閱讀
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- Spring 5.0 By Example
- 控糖控脂健康餐
- Flink SQL與DataStream入門(mén)、進(jìn)階與實(shí)戰(zhàn)
- 你必須知道的204個(gè)Visual C++開(kāi)發(fā)問(wèn)題
- EPLAN實(shí)戰(zhàn)設(shè)計(jì)
- Mastering Drupal 8 Views
- Angular開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)
- Maker基地嘉年華:玩轉(zhuǎn)樂(lè)動(dòng)魔盒學(xué)Scratch
- Android移動(dòng)應(yīng)用項(xiàng)目化教程
- 深度學(xué)習(xí)入門(mén):基于Python的理論與實(shí)現(xiàn)
- Oracle Database XE 11gR2 Jump Start Guide
- UI動(dòng)效設(shè)計(jì)從入門(mén)到精通
- 創(chuàng)新工場(chǎng)講AI課:從知識(shí)到實(shí)踐
- C語(yǔ)言編程魔法書(shū):基于C11標(biāo)準(zhǔn)