terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetDefaultVerticalResolution()

float DeviceVPPICalculator.GetDefaultVerticalResolution ( bool safeRegion = false)
inlineinherited

Definition at line 85 of file DeviceVPPICalculator.cs.

86 {
87 if (!true)
88 {
89 }
90 float deviceDPI = this.GetDeviceDPI();
91 float deviceDPI2 = this.GetDeviceDPI();
93 if (forceEMUEntry != null)
94 {
95 int height = forceEMUEntry.Height;
97 float height2 = viewportSafeRegion.height;
98 float dpi = this.DPI;
99 float height3 = viewportSafeRegion.height;
100 float num = this.PhysicalToResolution.Evaluate(height3);
101 if (forceEMUEntry == null)
102 {
103 }
104 if (forceEMUEntry == null)
105 {
106 }
107 }
108 int height4 = Screen.height;
110 while (forceEMUEntry2 != null)
111 {
112 }
113 float height5 = this.GetViewportSafeRegion().height;
114 while (forceEMUEntry2 != null)
115 {
116 }
117 throw new MissingMethodException();
118 }
class f__AnonymousType0<< Count > j__TPar
AnimationCurve PhysicalToResolution
DeviceVPPICalculator.EditorMobileEmuEntry _forceEMUEntry
float Evaluate(float time)
static int height
Definition Screen.cs:28
float height
Definition Rect.cs:175

References DeviceVPPICalculator._forceEMUEntry, DeviceVPPICalculator.DPI, UnityEngine.AnimationCurve.Evaluate(), DeviceVPPICalculator.GetDeviceDPI(), DeviceVPPICalculator.GetViewportSafeRegion(), UnityEngine.Rect.height, UnityEngine.Screen.height, j__TPar, and DeviceVPPICalculator.PhysicalToResolution.

html>