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

◆ ApplyCamera()

void XNAUICameraSettings.ApplyCamera ( )
inline

Definition at line 193 of file XNAUICameraSettings.cs.

194 {
197 int num = 16256;
198 this._zoomScale = (float)num;
201 float height = viewportSafeRegion2.height;
202 float pixelScale = this.PixelScale;
203 float width = viewportSafeRegion2.width;
204 float height2 = viewportSafeRegion2.height;
205 if (num == 0)
206 {
207 }
209 float pixelScale2 = this.PixelScale;
210 if (32640 == 0)
211 {
212 }
213 int cameraWidth = this._cameraWidth;
214 int cameraHeight = this._cameraHeight;
215 float xmin = this._cameraSafeRegion.m_XMin;
216 float ymin = this._cameraSafeRegion.m_YMin;
217 float width2 = this._cameraSafeRegion.m_Width;
219 this._cameraSafeRegion = 43139072;
220 int nativeHeight = this.NativeHeight;
221 float pixelScale3 = this.PixelScale;
222 int num2 = 32640;
224 int nativeWidth = this.NativeWidth;
225 int nativeHeight2 = this.NativeHeight;
226 int num3 = this.realVirtualScreenHeight;
227 if (cameraWidth == 0)
228 {
229 }
230 int num4 = 32640;
232 int nativeWidth2 = this.NativeWidth;
233 int num5 = this.realVirtualScreenWidth;
234 int num6 = 65408;
236 int nativeHeight3 = this.NativeHeight;
237 int num7 = this.realVirtualScreenHeight;
238 Camera camera = this.Camera;
240 if (num6 == 0)
241 {
242 }
243 Transform transform = this.Camera.transform;
244 int num8 = this.realVirtualScreenWidth;
245 int nativeWidth3 = this.NativeWidth;
246 int num9 = this.realVirtualScreenWidth;
248 if (num6 == 0)
249 {
250 }
251 int height4 = Screen.height;
253 int num12 = this.realVirtualScreenWidth;
255 Camera camera2 = this.Camera;
256 }
class f__AnonymousType0<< Count > j__TPar
static int height
Definition Screen.cs:28
float m_XMin
Definition Rect.cs:522
float m_Height
Definition Rect.cs:534
float m_YMin
Definition Rect.cs:526
float m_Width
Definition Rect.cs:530

References _cameraHeight, _cameraSafeRegion, _cameraWidth, Camera, GetViewportSafeRegion(), UnityEngine.Screen.height, j__TPar, UnityEngine.Rect.m_Height, UnityEngine.Rect.m_Width, UnityEngine.Rect.m_XMin, UnityEngine.Rect.m_YMin, NativeHeight, NativeWidth, DeviceVPPICalculator.PixelScale, realVirtualScreenHeight, realVirtualScreenOffsetX, realVirtualScreenWidth, RecalculateVirtualScreen(), ScreenResolutionSettingsDirty, and UnityEngine.Component.transform.

Referenced by XNAUnityRunner.Awake(), and XNAUnityRunner.ExecuteFrame().