- Home /
How can I take a picture of 3d Moddel at Runtime
I want to make a photo of a 3d model that would build random per script at runtime.
The photo is for OnGUI() to display the model.
(c# please)
Answer by AndyMartin458 · Aug 07, 2013 at 06:25 PM
Application.CaptureScreenshot will allow you capture a screenshot and save it to disk on PC and Mobile. If the photo is being displayed, then call this function. Then, you'll load up the picture from disk and attach it to a GUI Texture that will then be rendered inside of OnGUI. I'm interested to see how you get it working, but I know that the plan I laid out will work for you.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
Dynamic editor dll linking? 0 Answers
Need to load prefabs during runtime 1 Answer