Property | Type | Description | |
---|---|---|---|
colors | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
Add ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject |
Attempts to add an object to the ModelDrawer.
|
|
Add ( |
Adds the display object to the drawer.
|
|
Add ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void |
Adds a display object directly to the drawer without being linked to a source.
|
|
Clear ( ) : void |
Cleans out the model drawer of any existing display objects.
|
|
Contains ( object displayedObject ) : bool |
Determines if the object has an associated display object in this drawer.
|
|
Draw ( Matrix viewMatrix, Matrix projectionMatrix ) : void |
Draws the drawer's models.
|
|
GetDisplayObject ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject |
Constructs a new display object for an object.
|
|
Remove ( |
Removes an object from the drawer.
|
|
Remove ( object objectToRemove ) : bool |
Removes an object from the drawer.
|
|
Remove ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void |
Removes a display object from the drawer. Only use this if display object was added directly.
|
|
Update ( ) : void |
Updates the drawer and its components.
|
Method | Description | |
---|---|---|
ClearManagedModels ( ) : void |
Cleans out any data contained by derived drawers.
|
|
DrawManagedModels ( Matrix viewMatrix, Matrix projectionMatrix ) : void |
Draws the models managed by the drawer using the appropriate technique.
|
|
ModelDrawer ( Microsoft.Xna.Framework.Game game ) : System | ||
UpdateManagedModels ( ) : void |
Updates the drawer's technique.
|
Method | Description | |
---|---|---|
ModelDrawer ( ) : System |
public Add ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject | ||
objectToDisplay | object | Object to be added to the model drawer. |
return | BEPUphysicsDrawer.Models.ModelDisplayObject |
public Add ( |
||
displayObject | Display object to add. | |
return | bool |
public abstract Add ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void | ||
displayObject | BEPUphysicsDrawer.Models.ModelDisplayObject | Display object to add. |
return | void |
protected abstract ClearManagedModels ( ) : void | ||
return | void |
public Contains ( object displayedObject ) : bool | ||
displayedObject | object | Object to check for in the drawer. |
return | bool |
public Draw ( Matrix viewMatrix, Matrix projectionMatrix ) : void | ||
viewMatrix | Matrix | View matrix to use to draw the objects. |
projectionMatrix | Matrix | Projection matrix to use to draw the objects. |
return | void |
protected abstract DrawManagedModels ( Matrix viewMatrix, Matrix projectionMatrix ) : void | ||
viewMatrix | Matrix | View matrix to use to draw the objects. |
projectionMatrix | Matrix | Projection matrix to use to draw the objects. |
return | void |
public GetDisplayObject ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject | ||
objectToDisplay | object | Object to create a display object for. |
return | BEPUphysicsDrawer.Models.ModelDisplayObject |
protected ModelDrawer ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
return | System |
public Remove ( |
||
displayObject | Display object to remove. | |
return | bool |
public Remove ( object objectToRemove ) : bool | ||
objectToRemove | object | Object to remove. |
return | bool |
public abstract Remove ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void | ||
displayObject | BEPUphysicsDrawer.Models.ModelDisplayObject | Object to remove. |
return | void |
protected abstract UpdateManagedModels ( ) : void | ||
return | void |