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
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.Viewport Struct Reference
+ Collaboration diagram for Microsoft.Xna.Framework.Graphics.Viewport:

Public Member Functions

 Viewport (int x, int y, int width, int height)
 
 Viewport (int x, int y, int width, int height, float minDepth, float maxDepth)
 
 Viewport (Rectangle bounds)
 
Vector3 Project (Vector3 source, Matrix projection, Matrix view, Matrix world)
 
Vector3 Unproject (Vector3 source, Matrix projection, Matrix view, Matrix world)
 
override string ToString ()
 

Properties

int Height [get, set]
 
float MaxDepth [get, set]
 
float MinDepth [get, set]
 
int Width [get, set]
 
int Y [get, set]
 
int X [get, set]
 
float AspectRatio [get, set]
 
Rectangle Bounds [get, set]
 
Rectangle TitleSafeArea [get, set]
 

Static Private Member Functions

static bool WithinEpsilon (float a, float b)
 

Private Attributes

int x
 
int y
 
int width
 
int height
 
float minDepth
 
float maxDepth
 

Detailed Description

Definition at line 10 of file Viewport.cs.


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