Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Sandbox.Graphics.GUI.MyDX9Gui Class Reference
Inheritance diagram for Sandbox.Graphics.GUI.MyDX9Gui:
Sandbox.Graphics.GUI.IMyGuiSandbox

Classes

class  MyScreenShot
 

Public Member Functions

static IntPtr GetForegroundWindow ()
 
bool IsDebugScreenEnabled ()
 
void SetMouseCursorVisibility (bool visible, bool changePosition=true)
 
 MyDX9Gui ()
 Initializes a new instance of the T:System.Object class. More...
 
void LoadData ()
 Loads the data. More...
 
void LoadContent (MyFontDescription[] fonts)
 
bool OpenSteamOverlay (string url)
 
void UnloadContent ()
 
void SwitchDebugScreensEnabled ()
 
void HandleRenderProfilerInput ()
 
void AddScreen (MyGuiScreenBase screen)
 
void RemoveScreen (MyGuiScreenBase screen)
 
void HandleInput ()
 
void ShowModErrors ()
 
void HandleInputAfterSimulation ()
 
void Update (int totalTimeInMS)
 
void Draw ()
 
void BackToIntroLogos (Action afterLogosAction)
 
void BackToMainMenu ()
 
float GetDefaultTextScaleWithLanguage ()
 
void TakeScreenshot (int width, int height, string saveToPath=null, bool ignoreSprites=false, bool showNotification=true)
 
void TakeScreenshot (string saveToPath=null, bool ignoreSprites=false, Vector2?sizeMultiplier=null, bool showNotification=true)
 
Vector2 GetNormalizedCoordsAndPreserveOriginalSize (int width, int height)
 
void DrawGameLogo (float transitionAlpha)
 
- Public Member Functions inherited from Sandbox.Graphics.GUI.IMyGuiSandbox
void AddScreen (global::Sandbox.Graphics.GUI.MyGuiScreenBase screen)
 
void RemoveScreen (global::Sandbox.Graphics.GUI.MyGuiScreenBase screen)
 
void TakeScreenshot (string saveToPath=null, bool ignoreSprites=false, global::VRageMath.Vector2?sizeMultiplier=null, bool showNotification=true)
 

Static Public Member Functions

static void SwitchModDebugScreen ()
 

Public Attributes

readonly string GameLogoTexture = "Textures\\GUI\\GameLogoLarge.dds"
 

Static Public Attributes

static int TotalGamePlayTimeInMilliseconds
 

Properties

Vector2 MouseCursorPosition [get]
 
- Properties inherited from Sandbox.Graphics.GUI.IMyGuiSandbox
Vector2 MouseCursorPosition [get]
 

Detailed Description

Definition at line 40 of file MyDX9Gui.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyDX9Gui.MyDX9Gui ( )
inline

Initializes a new instance of the T:System.Object class.

Definition at line 139 of file MyDX9Gui.cs.

Member Function Documentation

void Sandbox.Graphics.GUI.MyDX9Gui.AddScreen ( MyGuiScreenBase  screen)
inline

Definition at line 260 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.BackToIntroLogos ( Action  afterLogosAction)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 840 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.BackToMainMenu ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 881 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.Draw ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 753 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.DrawGameLogo ( float  transitionAlpha)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 918 of file MyDX9Gui.cs.

float Sandbox.Graphics.GUI.MyDX9Gui.GetDefaultTextScaleWithLanguage ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 887 of file MyDX9Gui.cs.

static IntPtr Sandbox.Graphics.GUI.MyDX9Gui.GetForegroundWindow ( )
Vector2 Sandbox.Graphics.GUI.MyDX9Gui.GetNormalizedCoordsAndPreserveOriginalSize ( int  width,
int  height 
)
inline

Definition at line 913 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.HandleInput ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 271 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.HandleInputAfterSimulation ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 545 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.HandleRenderProfilerInput ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 255 of file MyDX9Gui.cs.

bool Sandbox.Graphics.GUI.MyDX9Gui.IsDebugScreenEnabled ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 60 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.LoadContent ( MyFontDescription[]  fonts)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 203 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.LoadData ( )
inline

Loads the data.

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 182 of file MyDX9Gui.cs.

bool Sandbox.Graphics.GUI.MyDX9Gui.OpenSteamOverlay ( string  url)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 235 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.RemoveScreen ( MyGuiScreenBase  screen)
inline

Definition at line 265 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.SetMouseCursorVisibility ( bool  visible,
bool  changePosition = true 
)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 84 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.ShowModErrors ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 516 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.SwitchDebugScreensEnabled ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 250 of file MyDX9Gui.cs.

static void Sandbox.Graphics.GUI.MyDX9Gui.SwitchModDebugScreen ( )
inlinestatic

Definition at line 458 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.TakeScreenshot ( int  width,
int  height,
string  saveToPath = null,
bool  ignoreSprites = false,
bool  showNotification = true 
)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 892 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.TakeScreenshot ( string  saveToPath = null,
bool  ignoreSprites = false,
Vector2 sizeMultiplier = null,
bool  showNotification = true 
)
inline

Definition at line 897 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.UnloadContent ( )
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 245 of file MyDX9Gui.cs.

void Sandbox.Graphics.GUI.MyDX9Gui.Update ( int  totalTimeInMS)
inline

Implements Sandbox.Graphics.GUI.IMyGuiSandbox.

Definition at line 682 of file MyDX9Gui.cs.

Member Data Documentation

readonly string Sandbox.Graphics.GUI.MyDX9Gui.GameLogoTexture = "Textures\\GUI\\GameLogoLarge.dds"

Definition at line 58 of file MyDX9Gui.cs.

int Sandbox.Graphics.GUI.MyDX9Gui.TotalGamePlayTimeInMilliseconds
static

Definition at line 47 of file MyDX9Gui.cs.

Property Documentation

Vector2 Sandbox.Graphics.GUI.MyDX9Gui.MouseCursorPosition
get

Definition at line 118 of file MyDX9Gui.cs.


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