Capturing a screenshot of only part of the canvas

Is there a way to use the Babylonjs screenshot tool to capture only half of the height of the canvas? For example, I want to take a screenshot of half a cube mesh, is this possible?

the best option is to still do the capture and then use regular html canvas to do image manipulation

1 Like