기술 자료

Unity Engine

Unity Engine

WebCam

Request permission to use any video input sources attached to the device.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
WebCam = 1

Remarks

You need to ask permission for access to the camera on iOS and Web platforms. You can project the feed of webcams, integrated cameras, and external cameras onto a Texture, GameObject or RawImage in your application. Use WebCamTexture to use your camera feed on the texture of an object.
Access to cameras is required especially for the following features:
  • Augmented Reality (AR)
  • Mixed reality (MR)
  • Gesture-based mechanics
  • Photo or video filters
  • Real-time in-app communication.