表示不同类型的网络摄像头设备的枚举。
On iOS devices, the WebCamDevice.kind is reported directly by the hardware.
On Android devices, the hardware does not report this value, so Unity determines the WebCamDevice.kind by calculating the Equivalent Focal Length from a calculation based on the reported focal length and matrix size. Therefore, on some Android devices, the default camera may be detected as WebCamKind.UltraWideAngle or WebCamKind.Telephoto.
As there is currently no web API that returns the focal length of a webcam device, the WebGL applications always return WebCamDevice.kind as WideAngle.
另请参阅:WebCamDevice.kind。
WideAngle | 广角(默认)摄像机。 |
Telephoto | 长焦摄像机设备。这些设备的焦距比广角摄像机长。 |
ColorAndDepth | 支持同步颜色和深度数据的摄像机(目前只有最新款 iOS 设备上的后置 TrueDepth 双摄像头)。 |
UltraWideAngle | Ultra wide angle camera. These devices have a shorter focal length than a wide-angle camera. |