C# Class NewTOAPIA.GL.GLModel

Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Méthode Description
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 ( float3 pos, float3 target ) : void
SetContext ( GLContext glContext ) : void
SetMouseLeft ( bool flag ) : void
SetMousePosition ( int x, int y ) : void
SetMouseRight ( bool flag ) : void
ZoomCamera ( float distance ) : void

Méthodes protégées

Méthode 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

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

DrawBegin() protected méthode

protected DrawBegin ( ) : void
Résultat void

DrawContent() protected méthode

protected DrawContent ( ) : void
Résultat void

DrawEnd() protected méthode

protected DrawEnd ( ) : void
Résultat void

GLModel() public méthode

public GLModel ( ) : System
Résultat System

InitializeLighting() public méthode

public InitializeLighting ( ) : void
Résultat void

OnKeyboardActivity() public méthode

public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
sender object
kbde NewTOAPIA.UI.KeyboardActivityArgs
Résultat System.IntPtr

OnMouseActivity() public méthode

public OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void
sender Object
mea NewTOAPIA.UI.MouseActivityArgs
Résultat void

OnReleaseContext() protected méthode

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
Résultat void

OnSetContext() protected méthode

protected OnSetContext ( ) : void
Résultat void

OnSetViewport() public méthode

public OnSetViewport ( int width, int height ) : void
width int
height int
Résultat void

ReleaseContext() public méthode

public ReleaseContext ( ) : void
Résultat void

RotateCamera() public méthode

public RotateCamera ( Vector2i rotation ) : void
rotation Vector2i
Résultat void

SetCamera() public méthode

public SetCamera ( float3 pos, float3 target ) : void
pos float3
target float3
Résultat void

SetContext() public méthode

public SetContext ( GLContext glContext ) : void
glContext GLContext
Résultat void

SetMouseLeft() public méthode

public SetMouseLeft ( bool flag ) : void
flag bool
Résultat void

SetMousePosition() public méthode

public SetMousePosition ( int x, int y ) : void
x int
y int
Résultat void

SetMouseRight() public méthode

public SetMouseRight ( bool flag ) : void
flag bool
Résultat void

ZoomCamera() public méthode

public ZoomCamera ( float distance ) : void
distance float
Résultat void