C# 클래스 Horde3DNET.Samples.KnightNET.RenderForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: mgottschlag/horde3d 1 사용 예제들

공개 메소드들

메소드 설명
MainLoop ( ) : void

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

RenderForm ( ) : System

Constructor.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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.

메소드 상세

Dispose() 보호된 메소드

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

MainLoop() 공개 메소드

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

RenderForm() 공개 메소드

Constructor.
public RenderForm ( ) : System
리턴 System