- Microsoft HoloLens Developer's Guide
- Dennis Vroegop
- 236字
- 2021-07-02 19:08:02
Building and running your HoloLens Unity app
Build the project, and run the debugger. The build will take some time at first. It needs to get all the packages from the NuGet server. It will build all code; then deploy the whole app and all dependencies to the device or emulator; it then starts the app and attaches the debugger. This whole process can take a couple of minutes.
However, after this is done the first time, the next build and deployments will be much faster.
When it starts up, you will be greeted in the virtual world with a nice Made With Unity logo. After a little while, this goes away. In front of you, about three meters away and about half a meter below your eyes, you will see a white sphere floating in mid-air.
Walk around it! Look at it! Crawl underneath it! Try and grab it!
That last part doesn't work. The default near clipping plane in Unity is 30 centimetres, meaning that everything that is closer than that will not be rendered. Microsoft says it is best to set the clipping plane to 85 centimetre but, to be honest, 30 works just fine, and that is what they use in their own applications anyway. So I tend to keep it at that.
Of course, you can never grab the object; it is virtual. But to be honest -- you were tempted, right?
- Java EE 6 企業級應用開發教程
- ThinkPHP 5實戰
- Java面向對象思想與程序設計
- Web Scraping with Python
- 零基礎學Scratch少兒編程:小學課本中的Scratch創意編程
- Learning Apache Kafka(Second Edition)
- Android Native Development Kit Cookbook
- HTML5從入門到精通 (第2版)
- Node.js開發指南
- Raspberry Pi Robotic Projects(Third Edition)
- Orchestrating Docker
- 愛上C語言:C KISS
- Visual Basic程序設計全程指南
- AI輔助編程Python實戰:基于GitHub Copilot和ChatGPT
- ASP.NET Core 2 High Performance(Second Edition)