Unity Hololens 2相机设置与Vuforia,仅显示网络摄像头

huangapple go评论116阅读模式
英文:

Unity Hololnes2 camera setting with vuforia, just show webcam

问题

I am using unity version 2021.3.23f1 and newwest vuforia engine. When I use camera setting (using MRTK add scene feature and vuforia behaviour script, in play mode with remoting app it just show me webcam stream. My world center Mode is slected by "Device", and I don't see any option in setting of script to select Hololens as an option. Everything works fine when it get build and run in Visual Studio but it waste time when I am developing content constantly.
Does anyone face such issue and find a solution for it?

Thanks

this is screen shot of camera setting

Unity Hololens 2相机设置与Vuforia,仅显示网络摄像头

and these are assets in the project

Unity Hololens 2相机设置与Vuforia,仅显示网络摄像头

英文:

I am using unity version 2021.3.23f1 and newwest vuforia engine. When I use camera setting (using MRTK add scene feature and vuforia behaviour script, in play mode with remoting app it just show me webcam stream. My world center Mode is slected by "Device", and I don't see any option in setting of script to select Hololens as an option. Everything works fine when it get build and run in Visual Studio but it waste time when I am developing content constantly.
Does anyone face such issue and find a solution for it?

Thanks

this is screen shot of camera setting

Unity Hololens 2相机设置与Vuforia,仅显示网络摄像头

and these are assets in the project

Unity Hololens 2相机设置与Vuforia,仅显示网络摄像头

答案1

得分: 1

你无法在播放模式下访问HoloLens相机,因为在播放模式时,项目在本地机器上运行,然后只将图像传输到HoloLens设备。这是设计上的限制。

英文:

You can't access the HoloLens camera in Play Mode, because when in Play Mode, the project runs on the local machine and then only streams the images to the HoloLens device. This is by design.

huangapple
  • 本文由 发表于 2023年5月10日 21:07:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/76218815.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定