[Closed] Calculating OrthoZoom based on dimensions of an object
I'm trying to calculate the OrthoZoom for a viewport that's in an Orthographic view. I need the camera to zoom in on an object when i prompt it to do so.
Is there any easy way of doing this? So far I've not be able to work out how to calculate the zoom value.
asked May 31 '16 at 05:33 PM in C++ Programming
The question has been closed May 31 '16 at 05:34 PM by AndrewHurley for the following reason:
The question is answered, right answer was accepted
I've found something I can use, FEditorViewportClient::FocusViewportOnBox does exactly what I'm looking for.
answered May 31 '16 at 05:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here