terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Member Functions | |
XNAUICameraSettings () | |
XNAUICameraSettings (Camera camera, XNAUICameraSettings defaultSettings) | |
override void | UpdateViewport (Rect newVeiwport) |
void | RecalculateVirtualScreen () |
float | GetMinResolution () |
float | GetMaxResolution () |
void | ApplyCamera () |
float | GetDefaultVerticalResolution (bool safeRegion=false) |
Rect | GetDefaultSafeArea () |
Rect | GetSafeArea () |
void | ResetSafeArea () |
void | SetSafeArea (Rect area) |
void | OverrideVerticalResolution (int verticalResolution) |
Public Attributes | |
Camera | Camera |
int | _cameraWidth |
int | _cameraHeight |
float | _safeRegionMinX |
float | _safeRegionMinY |
int | realVirtualScreenWidth |
int | realVirtualScreenHeight |
int | realVirtualScreenOffsetX |
int | realVirtualScreenOffsetY |
AnimationCurve | PhysicalToVPPICurve |
AnimationCurve | PhysicalToResolution |
float | PhysicalHeight |
float | VPPI |
float | DPI |
float | PixelScale |
bool | VPPIOverridden |
Static Public Attributes | |
static Rect | SafeArea |
Protected Member Functions | |
void | UpdatePixelScale (bool safeRegion=false) |
Protected Attributes | |
Rect | _viewport |
Properties | |
bool | ScreenResolutionSettingsDirty [get, set] |
int | NativeWidth [get, set] |
int | NativeHeight [get, set] |
DeviceOrientation | deviceOrientation [get, set] |
Rect | Viewport [get, set] |
float | ZoomScale [get, set] |
Private Member Functions | |
new Rect | GetViewportSafeRegion () |
float | GetDeviceDPI () |
bool | IsSafeAreaValid () |
void | UpdateForcedEmulation () |
Static Private Member Functions | |
static bool | RectRoughlyEqual (Rect a, Rect b) |
Static Private Attributes | |
static float | DefaultResolution |
static float | DefaultPhysicalHeight |
Definition at line 8 of file XNAUICameraSettings.cs.