简体   繁体   English

Unity3d 中还有其他方法可以访问设备摄像头吗?

[英]Is there another way in Unity3d to access device camera?

In Unity3d, in order to access the device camera there is one class to do that: WebCamTexture在 Unity3d 中,为了访问设备摄像头,有一个 class 可以做到这一点: WebCamTexture

Is there any other way to access it for all platforms, using native plugins for example?有没有其他方法可以在所有平台上访问它,例如使用本机插件?


based on unity documentation, it can be used in any platform.( HERE )基于统一文档,它可以在任何平台上使用。( 这里

Note: using webcam texture on Android requires a device running Honeycomb (Android 3.0) or later.注意:在 Android 上使用网络摄像头纹理需要运行 Honeycomb (Android 3.0) 或更高版本的设备。

but you can use an old asset called NatCam但是你可以使用一个叫做 NatCam 的旧资产

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM