How to save Viewport3D as Image File?


I’m developing a Firemonkey (FMX) application using Delphi 10.3.3.
I have a Viewport3D component.
Inside the Viewport3D, i have many 3D Shapes such as TCube and TRectangle3D.
I need to save the contents of the Viewport3D (a screenshot of the current view) to an image file. I prefer to save as a transparent PNG. How can I do that?

Comments are closed.