프로퍼티 | 타입 | 설명 | |
---|---|---|---|
colors | Microsoft.Xna.Framework.Graphics.Texture2D |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
ModelDrawer ( ) : System |
public Add ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject | ||
objectToDisplay | object | Object to be added to the model drawer. |
리턴 | BEPUphysicsDrawer.Models.ModelDisplayObject |
public Add ( |
||
displayObject | Display object to add. | |
리턴 | bool |
public abstract Add ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void | ||
displayObject | BEPUphysicsDrawer.Models.ModelDisplayObject | Display object to add. |
리턴 | void |
public Contains ( object displayedObject ) : bool | ||
displayedObject | object | Object to check for in the drawer. |
리턴 | 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. |
리턴 | 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. |
리턴 | void |
public GetDisplayObject ( object objectToDisplay ) : BEPUphysicsDrawer.Models.ModelDisplayObject | ||
objectToDisplay | object | Object to create a display object for. |
리턴 | BEPUphysicsDrawer.Models.ModelDisplayObject |
protected ModelDrawer ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
리턴 | System |
public Remove ( |
||
displayObject | Display object to remove. | |
리턴 | bool |
public Remove ( object objectToRemove ) : bool | ||
objectToRemove | object | Object to remove. |
리턴 | bool |
public abstract Remove ( BEPUphysicsDrawer.Models.ModelDisplayObject displayObject ) : void | ||
displayObject | BEPUphysicsDrawer.Models.ModelDisplayObject | Object to remove. |
리턴 | void |