C# Class entity.Renderers.CollisionViewer

The collision viewer.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
keyboard Microsoft.DirectX.DirectInput.Microsoft.DirectX.Direct3D.Device

Public Methods

Method Description
CollisionViewer ( coll tempcoll, Map map ) : System

Initializes a new instance of the CollisionViewer class.

InitializeGraphics ( ) : bool

The initialize graphics.

LoadMesh ( ) : void

The load mesh.

Main ( ) : void

The main entry point for the application.

OnResetDevice ( object sender, EventArgs e ) : void

The on reset device.

Protected Methods

Method Description
OnKeyPress ( KeyPressEventArgs e ) : void

The on key press.

OnPaint ( PaintEventArgs e ) : void

The on paint.

OnResize ( EventArgs e ) : void

The on resize.

Private Methods

Method Description
BSPCollisionViewer_MouseDown ( object sender, MouseEventArgs e ) : void

The bsp collision viewer_ mouse down.

InitializeComponent ( ) : void

The initialize component.

ModelViewer_MouseDown ( object sender, MouseEventArgs e ) : void

The model viewer_ mouse down.

ModelViewer_MouseUp ( object sender, MouseEventArgs e ) : void

The model viewer_ mouse up.

Render ( ) : void

The render.

SetupMatrices ( ) : void

The setup matrices.

checkKeys ( ) : void

The check keys.

Method Details

CollisionViewer() public method

Initializes a new instance of the CollisionViewer class.
public CollisionViewer ( coll tempcoll, Map map ) : System
tempcoll HaloMap.H2MetaContainers.coll The tempcoll.
map HaloMap.Map.Map The map.
return System

InitializeGraphics() public method

The initialize graphics.
public InitializeGraphics ( ) : bool
return bool

LoadMesh() public method

The load mesh.
public LoadMesh ( ) : void
return void

Main() public method

The main entry point for the application.
public Main ( ) : void
return void

OnKeyPress() protected method

The on key press.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs The e.
return void

OnPaint() protected method

The on paint.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs The e.
return void

OnResetDevice() public method

The on reset device.
public OnResetDevice ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The e.
return void

OnResize() protected method

The on resize.
protected OnResize ( EventArgs e ) : void
e System.EventArgs The e.
return void

Property Details

keyboard public_oe property

The keyboard.
public Microsoft.DirectX.DirectInput.Microsoft.DirectX.Direct3D.Device keyboard
return Microsoft.DirectX.DirectInput.Microsoft.DirectX.Direct3D.Device