C# 클래스 NewTOAPIA.UI.GL.GLModel

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( ) : void
GLModel ( ) : System
InitializeLighting ( ) : void
OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void
OnSetViewport ( int width, int height ) : void
ReleaseContext ( ) : void
RotateCamera ( Vector2i rotation ) : void
SetCamera ( vec3 pos, vec3 target ) : void
SetContext ( GLContext glContext ) : void
SetMouseLeft ( bool flag ) : void
SetMousePosition ( int x, int y ) : void
SetMouseRight ( bool flag ) : void
ZoomCamera ( float distance ) : void

보호된 메소드들

메소드 설명
DrawBegin ( ) : void
DrawContent ( ) : void
DrawEnd ( ) : void
OnReleaseContext ( ) : void

This routine is called just before the context is released. A subclasser should override this and perform any actions to shutdown before the context is released.

OnSetContext ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

DrawBegin() 보호된 메소드

protected DrawBegin ( ) : void
리턴 void

DrawContent() 보호된 메소드

protected DrawContent ( ) : void
리턴 void

DrawEnd() 보호된 메소드

protected DrawEnd ( ) : void
리턴 void

GLModel() 공개 메소드

public GLModel ( ) : System
리턴 System

InitializeLighting() 공개 메소드

public InitializeLighting ( ) : void
리턴 void

OnKeyboardActivity() 공개 메소드

public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
sender object
kbde KeyboardActivityArgs
리턴 System.IntPtr

OnMouseActivity() 공개 메소드

public OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void
sender Object
mea MouseActivityArgs
리턴 void

OnReleaseContext() 보호된 메소드

This routine is called just before the context is released. A subclasser should override this and perform any actions to shutdown before the context is released.
protected OnReleaseContext ( ) : void
리턴 void

OnSetContext() 보호된 메소드

protected OnSetContext ( ) : void
리턴 void

OnSetViewport() 공개 메소드

public OnSetViewport ( int width, int height ) : void
width int
height int
리턴 void

ReleaseContext() 공개 메소드

public ReleaseContext ( ) : void
리턴 void

RotateCamera() 공개 메소드

public RotateCamera ( Vector2i rotation ) : void
rotation Vector2i
리턴 void

SetCamera() 공개 메소드

public SetCamera ( vec3 pos, vec3 target ) : void
pos vec3
target vec3
리턴 void

SetContext() 공개 메소드

public SetContext ( GLContext glContext ) : void
glContext GLContext
리턴 void

SetMouseLeft() 공개 메소드

public SetMouseLeft ( bool flag ) : void
flag bool
리턴 void

SetMousePosition() 공개 메소드

public SetMousePosition ( int x, int y ) : void
x int
y int
리턴 void

SetMouseRight() 공개 메소드

public SetMouseRight ( bool flag ) : void
flag bool
리턴 void

ZoomCamera() 공개 메소드

public ZoomCamera ( float distance ) : void
distance float
리턴 void