12-11-2015, 10:52 AM
You can check the "Scene editor" sample that comes with Ab3d.PowerToys library - it contains a sample code that can be used to achieve "Fit to view" functionality.
But because this works on scene's bounding box, you should not expect that your models with be shown from edge to edge - there will almost always be an empty margin around your scene.
But because this works on scene's bounding box, you should not expect that your models with be shown from edge to edge - there will almost always be an empty margin around your scene.
Andrej Benedik

