![]() |
|
Reframe all objects - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: Reframe all objects (/showthread.php?tid=4209) |
Reframe all objects - Madaxe - 08-20-2020 I've tried to reuse the examples given but im struggling', i want the user to select a button and reframe on all elemnts just incase they slide the 3d model of the screen i would like to reset it back to the original camera location thanks Madxae Code: <cameras:TargetPositionCamera Name="Camera1" Code: //Adjustment factor = 20Code: private void Btn_FitAllIn_Click(object sender, RoutedEventArgs e)RE: Reframe all objects - Madaxe - 08-20-2020 so this works to reset the camera to the original position but how do i guarantee that all objects are in the field of view? Code: private void Btn_FitAllIn_Click(object sender, RoutedEventArgs e) |