首页 > 代码库 > Unity UI on hololens
Unity UI on hololens
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。