Version: 2022.3
LanguageEnglish
  • C#

UserAuthorization.WebCam

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Request permission to use any video input sources attached to the device.

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.