(03-03-2021, 07:51 PM)abenedik Wrote: See the "Rectangular selection" sample in the "Ab3d.DXEngine hit testing" section of the Ab3d.DXEngine samples. The sample shows two possible ways to do the rectangular object selection.I'm sorry I actually wanted to zoom a (screen) area in the viewport and not zoom a selection. I've edited the question title. Please see.
After you have the list of selected objects, you can call the camera.FitIntoView method - choose the method that takesĀ IList<Visual3D> visuals as an argument - pass the selected objects.
I would advice you to check the Ab3d.PowerToys samples and Ab3d.DXEngine samples.
| Messages In This Thread |
|
How to zoom into an area within the viewport? - by Somanna - 03-02-2021, 12:14 PM
RE: How to zoom selection? - by abenedik - 03-03-2021, 07:51 PM
RE: How to zoom selection? - by Somanna - 03-11-2021, 06:08 PM
RE: How to zoom into an area within the viewport? - by abenedik - 03-12-2021, 09:42 AM
RE: How to zoom into an area within the viewport? - by janovrom - 03-25-2021, 03:41 PM
|
| Users browsing this thread: |
| 2 Guest(s) |
Powered by: MyBB (NetPen theme by Mishar DESIGN)

