C# 클래스 MeshRenderer.Core.GDI.RenderControl

Renders a mesh using GDI.
상속: System.Windows.Forms.Control, IMeshRenderer
파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS

공개 메소드들

메소드 설명
HandleResize ( ) : void

Update graphics buffer and zoom after a resize.

Initialize ( ) : void

Initialize the graphics buffer (should be called in the forms load event).

RenderControl ( ) : System

Initializes a new instance of the RenderControl class.

SetData ( RenderData data ) : void

Updates the displayed input data.

Zoom ( float x, float y, int delta ) : void

Zoom to the given location.

보호된 메소드들

메소드 설명
OnMouseClick ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void

비공개 메소드들

메소드 설명
InitializeBuffer ( ) : void
Render ( ) : void

메소드 상세

HandleResize() 공개 메소드

Update graphics buffer and zoom after a resize.
public HandleResize ( ) : void
리턴 void

Initialize() 공개 메소드

Initialize the graphics buffer (should be called in the forms load event).
public Initialize ( ) : void
리턴 void

OnMouseClick() 보호된 메소드

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
리턴 void

RenderControl() 공개 메소드

Initializes a new instance of the RenderControl class.
public RenderControl ( ) : System
리턴 System

SetData() 공개 메소드

Updates the displayed input data.
public SetData ( RenderData data ) : void
data RenderData
리턴 void

Zoom() 공개 메소드

Zoom to the given location.
public Zoom ( float x, float y, int delta ) : void
x float
y float
delta int Indicates whether to zoom in or out.
리턴 void