- Home /
Is it possible to render in Unity without the editor/scene/player being visible?
In my Android-Unity app I have some data such as text, text size, text coordinates etc that I have to use to create the result and store a screenshot of the same which I will later use in my app.
But I need to make this happen when the user isn't seeing the Unity player/scene. So my question is that is it possible to render the contents and then take a screenshot of the same without the user seeing the Unity editor/player/scene whatever one may call it? Is there a way to do it in the background? Thanks!
Hi, you can use a Camera that renders into a RenderTexture ins$$anonymous$$d of rendering to the "Screen". It is then possible to get all pixels from this texture and save it as a png. If you want to render UI too you might have to use a Canvas that uses a Render $$anonymous$$ode = ScreenSpace-Camera (not sure about this potential problem, but try it if you don't see the UI :-)
Your answer
Follow this Question
Related Questions
PDF Reader for android 1 Answer
The Chrome book renders only 1 image. 0 Answers
Android Graphic glitches 1 Answer
How do I draw a background image *fast* (on Android)? 2 Answers
Halo doesn't appear fully when there is a background image 0 Answers