uWindowCapture
uWindowCapture copied to clipboard
Possible to grab partial desktop?
Testing latest and it works great!
Is there a setting/possibility/instructions to support capturing Desktop(window title area only)
Capturing window works ok, desktop works ok....but i'd like to capture the window area from desktop (have some overlapped windows in that area)... and don't want to always grab/crop entire desktop.
thanks.
Sorry for the late reply... Currently, uWindowCapture captures the entire window. However, cropping can be achieved by calculating the UV scale and offset using the width and height of the window, and using the Tiling and Offset parameters of the texture (another asset of mine, uDesktopDuplication, uses this method for cropping: https://github.com/hecomi/uDesktopDuplication/blob/4ba7caf792659d715a61cdf0ef6c0b616cb3b4ff/Assets/uDesktopDuplication/Examples/Scripts/Loupe.cs#L38-L43)