Version: 2021.2

WebCamKind

enumeration

切换到手册

描述

表示不同类型的网络摄像头设备的枚举。

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. As a result, on some Android devices, the default camera may be detected as WebCamKind.UltraWideAngle or WebCamKind.Telephoto.

另请参阅:WebCamDevice.kind

变量

WideAngle广角(默认)摄像机。
Telephoto长焦摄像机设备。这些设备的焦距比广角摄像机长。
ColorAndDepth支持同步颜色和深度数据的摄像机(目前只有最新款 iOS 设备上的后置 TrueDepth 双摄像头)。
UltraWideAngleUltra wide angle camera. These devices have a shorter focal length than a wide-angle camera.