C# Class WindowsAppFramework.RenderTargetUserControl

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Свойство Type Description
CreateRenderTarget bool
DestroyRenderTarget void
DoKeyDown void
DoKeyUp void
DoKeyUpAll void
GetEKeyByKeyCode bool
GetEMouseButtonByMouseButton EMouseButtons
GetLocalMousePosition Vec2i
InitializeComponent void
SceneManager_Render void
updateTimer_Tick void

Méthodes publiques

Méthode Description
Destroy ( ) : void
GetFloatMousePosition ( ) : Vec2
GetMouseRelativeModeOffset ( ) : Vec2i
GetWorldRayByMousePosition ( ) : Ray
IsKeyPressed ( Keys key ) : bool
RenderTargetUserControl ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnDestroy ( ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnRender ( Engine.Camera camera ) : void
OnRenderUI ( GuiRenderer renderer ) : void
OnResize ( EventArgs e ) : void
OnTick ( float delta ) : void
WndProc ( Message &m ) : void

Private Methods

Méthode Description
CreateRenderTarget ( ) : bool
DestroyRenderTarget ( ) : void
DoKeyDown ( KeyEventArgs e ) : void
DoKeyUp ( KeyEventArgs e ) : void
DoKeyUpAll ( ) : void
GetEKeyByKeyCode ( Keys keyCode, EKeys &eKey ) : bool
GetEMouseButtonByMouseButton ( MouseButtons button ) : EMouseButtons
GetLocalMousePosition ( ) : Vec2i
InitializeComponent ( ) : void

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

SceneManager_Render ( Engine.Camera camera, bool onlyShadowCasters ) : void
updateTimer_Tick ( object sender, EventArgs e ) : void

Method Details

Destroy() public méthode

public Destroy ( ) : void
Résultat void

Dispose() protected méthode

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

GetFloatMousePosition() public méthode

public GetFloatMousePosition ( ) : Vec2
Résultat Vec2

GetMouseRelativeModeOffset() public méthode

public GetMouseRelativeModeOffset ( ) : Vec2i
Résultat Vec2i

GetWorldRayByMousePosition() public méthode

public GetWorldRayByMousePosition ( ) : Ray
Résultat Ray

IsKeyPressed() public méthode

public IsKeyPressed ( Keys key ) : bool
key Keys
Résultat bool

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnKeyPress() protected méthode

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnLeave() protected méthode

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDoubleClick() protected méthode

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnRender() protected méthode

protected OnRender ( Engine.Camera camera ) : void
camera Engine.Camera
Résultat void

OnRenderUI() protected méthode

protected OnRenderUI ( GuiRenderer renderer ) : void
renderer GuiRenderer
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnTick() protected méthode

protected OnTick ( float delta ) : void
delta float
Résultat void

RenderTargetUserControl() public méthode

public RenderTargetUserControl ( ) : System
Résultat System

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m Message
Résultat void