- Home /
How to access Camera Feed (iOS and Android)
Hi all,
In the new Unity 3.5 release notes it is said that Unity added the Camera support, however I can't find any documentation explaining how to access the camera video feed for iOS and Android.
I would like to use the video feed as a background.
I've seen some related post but not a real documentation. Did I miss something?
Hahah who doesnt want background feed? $$anonymous$$illions have tried it.
I am not sure if camera support is there or not but I am sure iwould be limited to taking pictures and videos and accessing them.
Following the question for a reply though
use this plugin to open ios/android camera in unity http://u3d.as/8t8
Answer by gfoot · Mar 29, 2012 at 04:10 PM
var deviceName = WebCamTexture.devices[0].name;
var webCamTexture = new WebCamTexture(deviceName, 1280, 720, 30);
webCamTexture.Play();
renderer.material.mainTexture = webCamTexture;
if you want to launch and record video and image then you can use this plugin for Android.
$$anonymous$$ore info http://unitydevelopers.blogspot.in/p/blog-page_13.html
Your answer
Follow this Question
Related Questions
WebCamTexture and VSync (iPhone 4) 3 Answers
Resolution problem!!! 2 Answers
Control the camera with a half of the touch screen 0 Answers
Portal Rendering via Stencil Buffer vs Multiple Cameras - mobile 0 Answers
iPad Camera Aspect Ratio 2 Answers