码迷,mamicode.com
首页 > 编程语言 > 详细

Unity UI on hololens

时间:2016-10-24 20:30:13      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:pixel   make   src   long   image   rac   forum   its   attach   

http://heliosinteractive.com/scaling-ui-hololens/ 

https://forum.unity3d.com/threads/unity-ui-on-the-hololens.394629/

 

1.Create a World Space Canvas attached to the Camera (or using a Tagalong, etc)
2.Set its width to 126.8 and its height to 72 (mirroring the 1268×720 resolution)
3.Set the Dynamic Pixels Per Unit to 10 on the Canvas Scaler
?4.Magic Time?: to make the canvas the full size of the viewable area, set its scale to its z-distance from the camera * 0.00415f.

 

技术分享

Unity UI on hololens

标签:pixel   make   src   long   image   rac   forum   its   attach   

原文地址:http://www.cnblogs.com/jiahuafu/p/5994189.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!