- HoloLens Beginner's Guide
- Jason Odom
- 376字
- 2021-07-02 23:35:17
Creating the text
Now, it is time to get into the heart of a Hello World project and create Hello, World!. With our recent experience of creating objects in the preceding section, this should be a rather simple task.
We will create two separate objects here: one will be Hello, and the second will be World.
We will be performing the following steps to create the objects:
- In the Hierarchy panel, click on the create button, mouse over the 3D Object menu option, and choose 3D Text from the submenu.
- Ensuring that the object is selected, look at Inspector:

- You may notice--if you take a look at the Text Mesh component--that the words Hello World are the default for a 3D text object. Click on the box, add a comma (,) after Hello and delete the word World from the object.
- Select New Text in the name box, and change the name to Hello.
- Go to the Transform component and change the Position to X: -4.3, Y: 2 and Z: 5. This will put the object where we need it in the camera view:

- Now, you may notice a blurry /blocky effect on the word; let's fix it. In the Text Mesh component, look for the filed Character Size and change it to 0.19.
- In the Font Size field, change the font size from 0 to 84:

Now Hello, should look clear and ready to go. Let's move on to the next word.
We will now duplicate the previous word, make a few changes instead of repeating all the steps from the preceding section. Work smart, not hard they say, but if you do both, well you are probably amazing. Perform the following steps to do it:
- In the Hierarchy panel, right-click on the Hello object and select Duplicate.
- In the Inspector panel, change the name of the object to World.
- Move down to the Text Mesh component and in the Text box change the text to World!.
- Now, go to the Transform component like before, and change the X Position to -0.2.
With that, we should now have a scene that looks very similar to this; if that is the case, great work!:

- Learning LibGDX Game Development(Second Edition)
- C語言程序設計教程
- 觸·心:DT時代的大數據精準營銷
- Windows Server 2012 Unified Remote Access Planning and Deployment
- SQL Server 2012數據庫管理與開發項目教程
- ArcGIS By Example
- Android底層接口與驅動開發技術詳解
- 單片機C語言程序設計實訓100例
- C#實踐教程(第2版)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Python深度學習原理、算法與案例
- 智能搜索和推薦系統:原理、算法與應用
- UML2面向對象分析與設計(第2版)
- 計算機應用技能實訓教程