
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How does Camera.GetExtents work? I'm trying to use it for a custom picking algorithm, but the numbers it returns are not what I expect.
From a front orientation, the numbers are correct, and remain correct as I rotate the camera. But if I do a zoom all, the width and height become something completely different.
I would expect the width and height to represent the width and height of the view frustum in orthographic mode, but this is not the case as the numbers clearly do no represent the aspect ratio of the screen.
Even if I manually zoom to the object until it is close to the zoom all result, call GetExtents, then zoom all (the zoom barely changes) and do another GetExtents, the results are totally different.
Are there any known issues with this function?
Solved! Go to Solution.