Méthode | Description | |
---|---|---|
DeviceLostHandler ( object sender, System.EventArgs eventArgs ) : void | ||
MonoGameNoesisGUIWrapper ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, string rootXamlPath, string stylePath = null, string dataLocalPath = "Data" ) : Microsoft.Xna.Framework |
Initializes a new instance of the MonoGameNoesisGUIWrapper class. PLEASE NOTE: .XAML-files should be prebuilt to .NSB-files by NoesisGUI Build Tool). |
|
PostRender ( ) : void | ||
PreRender ( |
||
Update ( |
Méthode | Description | |
---|---|---|
CreateRenderer ( string rootXamlPath, string stylePath ) : UIRenderer | ||
DeviceResetHandler ( object sender, System.EventArgs e ) : void | ||
UpdateSize ( ) : void | ||
WindowClientSizeChangedHandler ( object sender, System.EventArgs e ) : void |
public DeviceLostHandler ( object sender, System.EventArgs eventArgs ) : void | ||
sender | object | |
eventArgs | System.EventArgs | |
Résultat | void |
public MonoGameNoesisGUIWrapper ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, string rootXamlPath, string stylePath = null, string dataLocalPath = "Data" ) : Microsoft.Xna.Framework | ||
game | Microsoft.Xna.Framework.Game | The MonoGame game instance. |
graphics | GraphicsDeviceManager | Graphics device manager of the game instance. |
rootXamlPath | string | Local XAML file path - will be used as the UI root element |
stylePath | string | (optional) Local XAML file path - will be used as global ResourceDictionary (UI style) |
dataLocalPath | string | (optional) Local path to the folder which will be used as root for other paths |
Résultat | Microsoft.Xna.Framework |
public PreRender ( |
||
gameTime | ||
Résultat | void |
public Update ( |
||
gameTime | ||
Résultat | void |