C# Class OpenSora.Viewer.ViewerGame

Inheritance: Game
Afficher le fichier Open project: rds1983/OpenSora Class Usage Examples

Méthodes publiques

Méthode Description
ViewerGame ( ) : Microsoft.Xna.Framework

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
EndRun ( ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

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

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

EndRun() protected méthode

protected EndRun ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

ViewerGame() public méthode

public ViewerGame ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework