Issue
It does not matter what I set my camera's ViewOrientationType to, it always returns kArbitraryViewOrientation. Why is that?
Solution
The enums that specify a particular camera angle can be used to set the camera, but the return value of the camera will always return arbitrary. It's a bit difficult to say exactly what one of these specified views is precisely. When you set a view to one of these defined views it sets the position of the camera, the up vector, and fits the view. Because the camera reacts to the model size these defined views are always different. It's possible that we could just use the eye direction and up vector to determine if it matches one of these predefined views, but that may not be enough for someone else. We've chosen to instead always return arbitrary and let the developer do the comparisons themselves on the camera since they know what's important to them.

Leave a Reply