官术网_书友最值得收藏!

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?

主站蜘蛛池模板: 潞西市| 田东县| 华池县| 香格里拉县| 太原市| 棋牌| 博客| 浦县| 芦溪县| 图们市| 萨迦县| 弋阳县| 涿鹿县| 绥阳县| 汤阴县| 广河县| 钟祥市| 西城区| 修水县| 长宁县| 大连市| 淮北市| 苍溪县| 兰坪| 玉山县| 孝感市| 浠水县| 上蔡县| 施甸县| 临海市| 凉城县| 泰顺县| 嘉祥县| 公安县| 安义县| 将乐县| 宿松县| 张家川| 吉木萨尔县| 土默特左旗| 塔河县|