Constant fermium::hints::SDL_HINT_ORIENTATIONS
source · pub const SDL_HINT_ORIENTATIONS: &[u8];
Expand description
A variable controlling which orientations are allowed on iOS/Android.
In some circumstances it is necessary to be able to explicitly control which UI orientations are allowed.
This variable is a space delimited list of the following values: “LandscapeLeft”, “LandscapeRight”, “Portrait” “PortraitUpsideDown”