C# Class BEPUphysicsDrawer.Models.DisplayModel

Model which just sits in space.
Inheritance: SelfDrawingModelDisplayObject
Show file Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method 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 method

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.
return Microsoft.Xna.Framework

Draw() public method

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.
return void

Update() public method

Updates the display object.
public Update ( ) : void
return void