tablet camera still to texture

hello all,

Right now I have a work around but wanted to see if this is the correct way of doing things. I am using a tablet and when the app starts up the user can see a what the tablet camera sees. When the user pushes a button i want the camera to take a still picture and use it as a texture. Right now all I am doing is when the user pushes the button the camera pauses is this the best practice?

Thank you for your help

O don’t think it’s a workaround when you want to use the texture

maybe you want this.

Pausing the camera when the user pushes the button to capture a still picture is a reasonable approach, but it might result in a slight interruption in the user experience. Consider implementing an asynchronous method to capture the picture while minimizing disruption.