C# Class BEPUphysicsDrawer.Models.InstancedModelDrawer

Manages and draws instanced models.
Inheritance: ModelDrawer
显示文件 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
Add ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void
InstancedModelDrawer ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic
Remove ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void

Protected Methods

Method Description
ClearManagedModels ( ) : void
DrawManagedModels ( Matrix viewMatrix, Matrix projectionMatrix ) : void

Draws the models managed by the drawer.

UpdateManagedModels ( ) : void

Method Details

Add() public method

public Add ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void
displayObject BEPUphysicsDrawer.Models.ModelDisplayObject
return void

ClearManagedModels() protected method

protected ClearManagedModels ( ) : void
return void

DrawManagedModels() protected method

Draws the models managed by the drawer.
protected DrawManagedModels ( Matrix viewMatrix, Matrix projectionMatrix ) : void
viewMatrix Microsoft.Xna.Framework.Matrix View matrix to use to draw the objects.
projectionMatrix Microsoft.Xna.Framework.Matrix Projection matrix to use to draw the objects.
return void

InstancedModelDrawer() public method

public InstancedModelDrawer ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic
game Microsoft.Xna.Framework.Game
return System.Collections.Generic

Remove() public method

public Remove ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void
displayObject BEPUphysicsDrawer.Models.ModelDisplayObject
return void

UpdateManagedModels() protected method

protected UpdateManagedModels ( ) : void
return void