Posts: 8
Threads: 7
Joined: Feb 2021
Reputation:
0
I wanted to if its possible to RenderToBitmap only the area on viewport that contains 3D visuals wraped together and not the whole Viewport border area?
Posts: 781
Threads: 15
Joined: Sep 2009
Reputation:
59
You can also:
1) save the current camera settings: TargetPositition, Offset, Heading, Attitude, Distance (may be different if you use some other type of camera and not TargetPositionCamera)
2) call camera.FitIntoView
3) call camera.RenderToBitmap
4) reset camera settings from saved values
Andrej Benedik