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
GUIZoom Class Reference

Public Member Functions

float GetDefaultWorldZoomScale ()
 
void LoadDefaultZoom ()
 
 GUIZoom ()
 
void UpdateCursorDummy (global::Cursor cursor)
 
void UpdateCursor (global::Cursor cursor)
 
void UpdatePinchZoom ()
 
void Draw ()
 

Public Attributes

float DefaultWorldZoomScale
 
bool PinchZoomWorldEnabled = 257 != 0
 
bool PinchZoomMapEnabled
 

Private Member Functions

bool IsCursorOver (Microsoft.Xna.Framework.Vector2 position, [Out] float sliderPosition)
 
void ApplyPixelZoom (float pixelScale)
 
void UpdatePixelZoom ()
 

Private Attributes

bool draggingSlider
 
float ZoomValue = (float)16128
 
CursorInputLayer _inputLayer
 
CursorInputLayer _inputlayerZoomPinch
 
float MaxZoomValue
 
bool _pinchZoomActive
 
global::Cursor _zoomCursor0
 
global::Cursor _zoomCursor1
 
global::UnityEngine.Vector2 _initialPosition0
 
global::UnityEngine.Vector2 _initialPosition1
 
bool _lastFrameFullScreenMap
 
Microsoft.Xna.Framework.Vector2 _lastFrameGrabCentre
 
float _initialZoom
 

Detailed Description

Definition at line 8 of file GUIZoom.cs.


The documentation for this class was generated from the following file: