Method | Description | |
---|---|---|
Draw ( ) : void | ||
GLModel ( ) : System | ||
InitializeLighting ( ) : void | ||
OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : |
||
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 |
Method | Description | |
---|---|---|
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 |
public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : |
||
sender | object | |
kbde | KeyboardActivityArgs | |
return |
public OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void | ||
sender | Object | |
mea | MouseActivityArgs | |
return | void |
public OnSetViewport ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public RotateCamera ( Vector2i rotation ) : void | ||
rotation | Vector2i | |
return | void |
public SetCamera ( vec3 pos, vec3 target ) : void | ||
pos | vec3 | |
target | vec3 | |
return | void |
public SetContext ( GLContext glContext ) : void | ||
glContext | GLContext | |
return | void |
public SetMousePosition ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |