C# Class BEPUphysicsDrawer.Models.DisplayEntityModel

Display object of a model that follows an entity.
Inheritance: SelfDrawingModelDisplayObject
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
DisplayEntityModel ( Entity entity, Model model, ModelDrawer modelDrawer ) : BEPUphysics.Entities

Constructs a new display model.

Draw ( Matrix viewMatrix, Matrix projectionMatrix ) : void

Draws the display object.

Update ( ) : void

Updates the display object.

Method Details

DisplayEntityModel() public méthode

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

Draw() public méthode

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

Update() public méthode

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