C# Class UHSampleGame.CoreObjects.AnimatedModel

Inheritance: GameObject
Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project Class Usage Examples

Protected Properties

Свойство Type Description
animationPlayer SkinnedModel.AnimationPlayer
model Microsoft.Xna.Framework.Graphics.Model
scale float

Méthodes publiques

Méthode Description
AnimatedModel ( ) : System

Default Constructor to setup Model

AnimatedModel ( Model model ) : System

Constructor consisting of a given model

Draw ( GameTime gameTime ) : void
PlayClip ( string take ) : void

Play a particular animation

SetupModel ( Model model ) : void

Adds a model to the Animated Model and performs setup

Update ( GameTime gameTime ) : void
UpdateView ( ) : void

Méthodes protégées

Méthode Description
SetupCamera ( ) : void

Sets up default camera information

SetupModel ( ) : void

Performs required setup sequence for model

Method Details

AnimatedModel() public méthode

Default Constructor to setup Model
public AnimatedModel ( ) : System
Résultat System

AnimatedModel() public méthode

Constructor consisting of a given model
public AnimatedModel ( Model model ) : System
model Microsoft.Xna.Framework.Graphics.Model Model for use
Résultat System

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

PlayClip() public méthode

Play a particular animation
public PlayClip ( string take ) : void
take string Animation to play
Résultat void

SetupCamera() protected méthode

Sets up default camera information
protected SetupCamera ( ) : void
Résultat void

SetupModel() protected méthode

Performs required setup sequence for model
protected SetupModel ( ) : void
Résultat void

SetupModel() public méthode

Adds a model to the Animated Model and performs setup
public SetupModel ( Model model ) : void
model Microsoft.Xna.Framework.Graphics.Model Model for this instance
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

UpdateView() public méthode

public UpdateView ( ) : void
Résultat void

Property Details

animationPlayer protected_oe property

protected AnimationPlayer,SkinnedModel animationPlayer
Résultat SkinnedModel.AnimationPlayer

model protected_oe property

protected Model,Microsoft.Xna.Framework.Graphics model
Résultat Microsoft.Xna.Framework.Graphics.Model

scale protected_oe property

protected float scale
Résultat float