locked
Screenshot error

    Question

  • hi all :)
    i build an app from unity3d to visual studio , and i create a function that make a sreenshot using FrameworkElement
    , i want to take a screenshot of the window that display data from unity , the sreenshot is dark .. dunno how to solve it ...
    Sunday, May 10, 2015 3:28 PM

Answers

  • RenderTargetBitmap cannot capture DirectX images like Unity's scene.

    You'll need to use Unity's built-in CaptureScreenShot or render to a texture. See http://docs.unity3d.com/ScriptReference/Application.CaptureScreenshot.html 

    Sunday, May 10, 2015 6:58 PM
    Moderator