Can we take snapshot of Actor instances using C++ ?

Hi ,

Just wondering if it is possible to take snapshots of actor instances present within the editor , via C++ code. And by snapshot , I didn’t mean screenshot of the whole viewport ,I meant screenshot of the actor instance as seen from a camera placed near the actor , and saving the screenshot as an image file. ( This has to be done within editor and not during gameplay).

Just require this to improve the appearance of an editor extension plugin I am working on.