- Home /
Question by
thechurchofsam · Aug 12, 2018 at 01:39 AM ·
webcamtexturewebcam
,Webcam texture not showing up iOS
I'm using this code to give a rawImage some texture:
image = GetComponent();
cam = new WebCamTexture(Screen.width, Screen.height);
image.texture = cam;
cam.Play();
But whenever I build and run, it is just a white square. Any tips? I'm new at this.,Hi, I'm using this code to give a rawImage a texture from the camera: image = GetComponent(); cam = new WebCamTexture(Screen.width, Screen.height); image.texture = cam; cam.Play(); But the image is still a white square. Any tips? I'm new at this.
Comment
Your answer
Follow this Question
Related Questions
WebCameTexture.Play() Could not connect pins - RenderStream() 5 Answers
Take photo from webcam (not grab frame from video stream) 0 Answers
WebCam Texture scaling on iPhoneX 1 Answer
Webcamtexture at 1080p 50fps produces black image 1 Answer
WebCamTexture.device on the Kindle Fire returning a camera 1 Answer