diff --git a/Source/Editor/Cooker/Platform/Android/AndroidPlatformTools.cpp b/Source/Editor/Cooker/Platform/Android/AndroidPlatformTools.cpp index d55ad01e3..7803b7c6d 100644 --- a/Source/Editor/Cooker/Platform/Android/AndroidPlatformTools.cpp +++ b/Source/Editor/Cooker/Platform/Android/AndroidPlatformTools.cpp @@ -203,16 +203,16 @@ bool AndroidPlatformTools::OnPostProcess(CookingData& data) switch (defaultOrienation) { case AndroidPlatformSettings::ScreenOrientation::Portrait: - orientation = String("portrait"); + orientation = String("userPortrait"); break; - case AndroidPlatformSettings::ScreenOrientation::PortraitReverse: - orientation = String("reversePortrait"); + case AndroidPlatformSettings::ScreenOrientation::Landscape: + orientation = String("userLandscape"); break; - case AndroidPlatformSettings::ScreenOrientation::LandscapeRight: - orientation = String("landscape"); + case AndroidPlatformSettings::ScreenOrientation::SensorPortrait: + orientation = String("sensorPortrait"); break; - case AndroidPlatformSettings::ScreenOrientation::LandscapeLeft: - orientation = String("reverseLandscape"); + case AndroidPlatformSettings::ScreenOrientation::SensorLandscape: + orientation = String("sensorLandscape"); break; case AndroidPlatformSettings::ScreenOrientation::AutoRotation: orientation = String("fullSensor"); diff --git a/Source/Engine/Platform/Android/AndroidPlatformSettings.h b/Source/Engine/Platform/Android/AndroidPlatformSettings.h index 390a3936e..2ec045871 100644 --- a/Source/Engine/Platform/Android/AndroidPlatformSettings.h +++ b/Source/Engine/Platform/Android/AndroidPlatformSettings.h @@ -23,24 +23,24 @@ API_CLASS(sealed, Namespace="FlaxEditor.Content.Settings") class FLAXENGINE_API API_ENUM() enum class FLAXENGINE_API ScreenOrientation { /// - /// "portrait" mode + /// "userPortrait" mode /// Portrait, /// - /// "reversePortrait" mode + /// "userLandscape" mode /// - PortraitReverse, + Landscape, /// - /// "landscape" mode + /// "sensorPortrait" mode /// - LandscapeRight, + SensorPortrait, /// - /// "reverseLandscape" mode + /// "sensorLandscape" mode /// - LandscapeLeft, + SensorLandscape, /// /// "fullSensor" mode