C# Class SimpleInputModel, NewTOAPIA

Inheritance: NewTOAPIA.GL.GLModel
Exibir arquivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void
RotateCamera ( Vector2i rotation ) : void
SetCamera ( float3 pos, float3 target ) : void
SetMouseLeft ( bool flag ) : void
SetMousePosition ( int x, int y ) : void
SetMouseRight ( bool flag ) : void
SimpleInputModel ( ) : System
ZoomCamera ( float distance ) : void

Protected Methods

Method Description
DrawBegin ( ) : void
DrawContent ( ) : void
OnSetContext ( ) : void

Method Details

DrawBegin() protected method

protected DrawBegin ( ) : void
return void

DrawContent() protected method

protected DrawContent ( ) : void
return void

OnMouseActivity() public method

public OnMouseActivity ( Object sender, MouseActivityArgs mea ) : void
sender Object
mea NewTOAPIA.UI.MouseActivityArgs
return void

OnSetContext() protected method

protected OnSetContext ( ) : void
return void

RotateCamera() public method

public RotateCamera ( Vector2i rotation ) : void
rotation Vector2i
return void

SetCamera() public method

public SetCamera ( float3 pos, float3 target ) : void
pos float3
target float3
return void

SetMouseLeft() public method

public SetMouseLeft ( bool flag ) : void
flag bool
return void

SetMousePosition() public method

public SetMousePosition ( int x, int y ) : void
x int
y int
return void

SetMouseRight() public method

public SetMouseRight ( bool flag ) : void
flag bool
return void

SimpleInputModel() public method

public SimpleInputModel ( ) : System
return System

ZoomCamera() public method

public ZoomCamera ( float distance ) : void
distance float
return void