virtual bool OnOrientation(unsigned orientation, bool force = false);
OnOrientation notifies the application when the screen orientation changes.
Parameters |
Description |
unsigned orientation |
New orientation (viewport flags). |
bool force = false |
New orientation should be used even if orientation changes are disabled by the user. |