- HoloLens Beginner's Guide
- Jason Odom
- 207字
- 2021-07-02 23:35:17
Our cubism period
Now, we have a blank cube in our scene and, we are ready to have some fun. However, where is it? Here, we will use the transform component to change this cube into our platform and move it into view:
- With Cube selected, look at the Inspector tab.
- First, we want to change the name of our new object to something more appropriate. Click on the input field and change the name from Cube to Platform:

- In order to move the object into the position we need it in, select Platform in the Hierarchy View, look down to the Transform component. Change the Position to X :0, Y: -2, and Z: 4
- Now, change the Scale field to X: 10, Y: 0.1, and Z: 5. After you finish making changes to your Transform component for the platform object, it should look like this:

If you are looking at this preceding example and have suddenly become scared that you need to know a bunch of math just to place objects in the work, don't worry. Although this is the most accurate way, it is not the only way of moving objects in a scene. You will learn other options later in this chapter.
推薦閱讀
- Java入門經典(第6版)
- 看透JavaScript:原理、方法與實踐
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- 自然語言處理Python進階
- Java Web程序設計任務教程
- C#應用程序設計教程
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Java 從入門到項目實踐(超值版)
- OpenCV with Python Blueprints
- R的極客理想:量化投資篇
- Learning Concurrency in Python
- SSH框架企業級應用實戰
- 一步一步學Spring Boot:微服務項目實戰(第2版)
- 小小的Python編程故事
- 構建跨平臺APP:響應式UI設計入門