C# Class MyGame.AnimatedModel

This class represent animated model (A model that has animation(s))
Inheritance: CModel
Show file Open project: mahmoudbahaa/XNA-Game-project

Public Properties

Property Type Description
animationController XNAnimation.Controllers.AnimationController

Protected Properties

Property Type Description
skinnedModel XNAnimation.SkinnedModel

Public Methods

Method Description
AnimatedModel ( MyGame game, SkinnedModel skinnedModel ) : System
Draw ( GameTime gameTime ) : void

This method renders the current state.

reinitialize ( SkinnedModel skinnedModel ) : void

Private Methods

Method Description
reinitialize2 ( SkinnedModel skinnedModel ) : void

Method Details

AnimatedModel() public method

public AnimatedModel ( MyGame game, SkinnedModel skinnedModel ) : System
game MyGame
skinnedModel XNAnimation.SkinnedModel
return System

Draw() public method

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
return void

reinitialize() public method

public reinitialize ( SkinnedModel skinnedModel ) : void
skinnedModel XNAnimation.SkinnedModel
return void

Property Details

animationController public property

public AnimationController,XNAnimation.Controllers animationController
return XNAnimation.Controllers.AnimationController

skinnedModel protected property

protected SkinnedModel,XNAnimation skinnedModel
return XNAnimation.SkinnedModel