C# Class BEPUphysicsDrawer.Models.DisplayModel

Model which just sits in space.
Inheritance: SelfDrawingModelDisplayObject
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
DisplayModel ( Model model, ModelDrawer modelDrawer ) : Microsoft.Xna.Framework

Constructs a new display model.

Draw ( BEPUutilities.Matrix viewMatrix, BEPUutilities.Matrix projectionMatrix ) : void

Draws the display object.

Update ( ) : void

Updates the display object.

Method Details

DisplayModel() public méthode

Constructs a new display model.
public DisplayModel ( Model model, ModelDrawer modelDrawer ) : Microsoft.Xna.Framework
model Microsoft.Xna.Framework.Graphics.Model Model to draw on the entity.
modelDrawer ModelDrawer Model drawer to use.
Résultat Microsoft.Xna.Framework

Draw() public méthode

Draws the display object.
public Draw ( BEPUutilities.Matrix viewMatrix, BEPUutilities.Matrix projectionMatrix ) : void
viewMatrix BEPUutilities.Matrix Current view matrix.
projectionMatrix BEPUutilities.Matrix Current projection matrix.
Résultat void

Update() public méthode

Updates the display object.
public Update ( ) : void
Résultat void