C# Class OpenSora.Viewer.ViewerGame

Inheritance: Game
显示文件 Open project: rds1983/OpenSora Class Usage Examples

Public Methods

Method Description
ViewerGame ( ) : Microsoft.Xna.Framework

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
EndRun ( ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
DrawAnimation ( ) : void
DrawTexture ( Texture2D texture ) : void
FormatDuration ( float ms ) : string
HideAnimationBox ( ) : void
HideFunctionsBox ( ) : void
LoadFile ( DirEntry entry ) : void
LoadModel ( DirEntry DirEntry ) : void
OnAbout ( object sender, EventArgs e ) : void
OnChangeFolder ( object sender, EventArgs e ) : void
ProcessMesh ( List meshes, string statusPrefix, MeshData meshData, int meshCount ) : void
PushStatusMessage ( string text ) : void
RefreshFiles ( ) : void
RefreshFilesSafe ( ) : void
ResetAnimation ( ) : void
SetFolder ( string folder ) : void
ShowAnimationBox ( ) : void
ShowFunctionsBox ( ) : void
SliderPlayer_PressedChanged ( object sender, EventArgs e ) : void
_buttonPlayPause_Click ( object sender, EventArgs e ) : void
_comboFunctions_SelectedIndexChanged ( object sender, EventArgs e ) : void
_comboResourceType_SelectedIndexChanged ( object sender, EventArgs e ) : void
_executionContext_TotalPassedPartChanged ( object sender, EventArgs e ) : void
_listFiles_SelectedIndexChanged ( object sender, EventArgs e ) : void
_numericAnimationStart_ValueChanged ( object sender, Myra.Utility.ValueChangedEventArgs e ) : void
_numericAnimationStep_ValueChanged ( object sender, Myra.Utility.ValueChangedEventArgs e ) : void
_sliderPlayer_ValueChangedByUser ( object sender, Myra.Utility.ValueChangedEventArgs e ) : void
_textFilter_TextChanged ( object sender, Myra.Utility.ValueChangedEventArgs e ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
return void

EndRun() protected method

protected EndRun ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime GameTime
return void

ViewerGame() public method

public ViewerGame ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework