Publisher | Marks |
---|---|
File size | 316.38kB |
Number of files | 9 |
Latest version | 2 |
Latest release date | 2023-11-27 04:54:58 |
First release date | 2020-10-20 08:41:11 |
Supported Unity versions | 2018.4.2 or higher |
This plugin allows you to access the device’s camera and stream its contents into a render texture (or Texture2D if you want to). It works on Chrome, Safari, Firefox, Opera, Edge, with no issues.
It's a lot faster than Unity's regular webcam as well. The video shows that Unity's webcam averages 10 fps on my old Samsung S8, whereas my plugin averages on 60 fps.
You can access the front camera, the rear camera, you can check which cameras the device has to begin with. You can start, stop, update the render texture, check if the camera is active, check if you are on desktop.
This plugin can also capture the camera feed of a third party plugin and stream its contents into Unity, instead of creating the camera feed itself (which is the default behavior).
DOES NOT WORK WITH WEBXR.
If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).