C# Class WaveEngine.Components.UI.PanelControlRenderer

The Panel renderer
Inheritance: Drawable2D
Show file Open project: WaveEngine/Components

Public Methods

Method Description
Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: The entity passes the culling test. The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.

PanelControlRenderer ( ) : System

Initializes a new instance of the PanelControlRenderer class.

PanelControlRenderer ( Type layerType ) : System

Initializes a new instance of the PanelControlRenderer class.

PanelControlRenderer ( string name, Type layerType ) : System

Initializes a new instance of the PanelControlRenderer class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

DrawDebugLines ( ) : void

Helper method that draws debug lines.

This method will only work on debug mode and if RenderManager.DebugLines /> is set to true.

Method Details

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Draw() public method

Allows to perform custom drawing.
This method will only be called if all the following points are true: The entity passes the culling test. The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
return void

DrawDebugLines() protected method

Helper method that draws debug lines.
This method will only work on debug mode and if RenderManager.DebugLines /> is set to true.
protected DrawDebugLines ( ) : void
return void

PanelControlRenderer() public method

Initializes a new instance of the PanelControlRenderer class.
public PanelControlRenderer ( ) : System
return System

PanelControlRenderer() public method

Initializes a new instance of the PanelControlRenderer class.
public PanelControlRenderer ( Type layerType ) : System
layerType System.Type Type of the layer.
return System

PanelControlRenderer() public method

Initializes a new instance of the PanelControlRenderer class.
public PanelControlRenderer ( string name, Type layerType ) : System
name string Name of this instance.
layerType System.Type Type of the layer.
return System