C# Class Horde3DNET.Samples.ChicagoNET.RenderForm

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: mgottschlag/horde3d Class Usage Examples

Public Methods

Method Description
MainLoop ( ) : void

The main loop. This method is executed by the application event handler each time the application is idle.

RenderForm ( ) : System

Constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CalcFPS ( ) : void

Calculates the actual frames per second (fps).

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

KeyHandling ( ) : void

Occurs when a key is pressed, asynchronously.

MouseMovement ( ) : void

Calculates the mouse movement based on the difference between the old and new position (delta).

MouseResetPosition ( ) : void

The mouse cursor position is reset to the center of the application window.

RenderForm_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

Release the engine and free all objects as well as associated memory, after the form is closed.

RenderForm_KeyDown ( object sender, KeyEventArgs e ) : void

Occurs when a key is pressed inside the render panel, synchrounously.

RenderForm_Load ( object sender, EventArgs e ) : void

All application initialization is performed here, before the main loop thread is executed and the render panel is displayed for the first time.

RenderForm_Resize ( object sender, EventArgs e ) : void

Occurs when the form is resized. The rendering output area has to be resized accordingly.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainLoop() public method

The main loop. This method is executed by the application event handler each time the application is idle.
public MainLoop ( ) : void
return void

RenderForm() public method

Constructor.
public RenderForm ( ) : System
return System