Reframe all objects
#2
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)
       {        
           Camera1.TargetPosition = new Point3D(0, 1000, 0);
           Camera1.Heading = 150;
           Camera1.Attitude = -25;
           Camera1.Bank = 0;
           Camera1.Distance = 250;

           Camera1.FitIntoView();
       }
  


Messages In This Thread
Reframe all objects - by Madaxe - 08-20-2020, 11:57 AM
RE: Reframe all objects - by Madaxe - 08-20-2020, 12:09 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)