Change screen orientation enum
This commit is contained in:
@@ -203,16 +203,16 @@ bool AndroidPlatformTools::OnPostProcess(CookingData& data)
|
|||||||
switch (defaultOrienation)
|
switch (defaultOrienation)
|
||||||
{
|
{
|
||||||
case AndroidPlatformSettings::ScreenOrientation::Portrait:
|
case AndroidPlatformSettings::ScreenOrientation::Portrait:
|
||||||
orientation = String("portrait");
|
orientation = String("userPortrait");
|
||||||
break;
|
break;
|
||||||
case AndroidPlatformSettings::ScreenOrientation::PortraitReverse:
|
case AndroidPlatformSettings::ScreenOrientation::Landscape:
|
||||||
orientation = String("reversePortrait");
|
orientation = String("userLandscape");
|
||||||
break;
|
break;
|
||||||
case AndroidPlatformSettings::ScreenOrientation::LandscapeRight:
|
case AndroidPlatformSettings::ScreenOrientation::SensorPortrait:
|
||||||
orientation = String("landscape");
|
orientation = String("sensorPortrait");
|
||||||
break;
|
break;
|
||||||
case AndroidPlatformSettings::ScreenOrientation::LandscapeLeft:
|
case AndroidPlatformSettings::ScreenOrientation::SensorLandscape:
|
||||||
orientation = String("reverseLandscape");
|
orientation = String("sensorLandscape");
|
||||||
break;
|
break;
|
||||||
case AndroidPlatformSettings::ScreenOrientation::AutoRotation:
|
case AndroidPlatformSettings::ScreenOrientation::AutoRotation:
|
||||||
orientation = String("fullSensor");
|
orientation = String("fullSensor");
|
||||||
|
|||||||
@@ -23,24 +23,24 @@ API_CLASS(sealed, Namespace="FlaxEditor.Content.Settings") class FLAXENGINE_API
|
|||||||
API_ENUM() enum class FLAXENGINE_API ScreenOrientation
|
API_ENUM() enum class FLAXENGINE_API ScreenOrientation
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "portrait" mode
|
/// "userPortrait" mode
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Portrait,
|
Portrait,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "reversePortrait" mode
|
/// "userLandscape" mode
|
||||||
/// </summary>
|
/// </summary>
|
||||||
PortraitReverse,
|
Landscape,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "landscape" mode
|
/// "sensorPortrait" mode
|
||||||
/// </summary>
|
/// </summary>
|
||||||
LandscapeRight,
|
SensorPortrait,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "reverseLandscape" mode
|
/// "sensorLandscape" mode
|
||||||
/// </summary>
|
/// </summary>
|
||||||
LandscapeLeft,
|
SensorLandscape,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "fullSensor" mode
|
/// "fullSensor" mode
|
||||||
|
|||||||
Reference in New Issue
Block a user