文档

Unity Engine

Unity Engine

depthCameraName

A string identifier used to create a depth data based WebCamTexture.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public string depthCameraName { get; }

Remarks

This string is null for webcam devices that do not support depth data. For webcams with depth data support (those of kind WebCamKind.ColorAndDepth) this string is not empty. Currently, only dual back and true depth cameras on latest iOS devices support depth data.
Additional Resources: WebCamDevice.kind, WebCamTexture.