Home | Trees | Indices | Help |
|
---|
|
Implement and register this class with a b2Worldto provide debug drawing of physics entities in your game.
|
|||
b2DebugDraw |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
e_shapeBit = 1
|
|||
e_jointBit = 2
|
|||
e_coreShapeBit = 4
|
|||
e_aabbBit = 8
|
|||
e_obbBit = 16
|
|||
e_pairBit = 32
|
|||
e_centerOfMassBit = 64
|
|||
e_controllerBit = 128
|
|
|||
thisown The membership flag |
|
Implement and register this class with a b2Worldto provide debug drawing of physics entities in your game.
|
|
Returns a dictionary representation of self, with dict(var=value [, ...]) additional_ignore can be specified to ignore certain properties. |
b2DebugDraw_SetFlags(b2DebugDraw self, uint32 flags) Set the drawing flags. |
b2DebugDraw_GetFlags(b2DebugDraw self) -> uint32 Get the drawing flags. |
b2DebugDraw_AppendFlags(b2DebugDraw self, uint32 flags) Append flags to the current flags. |
b2DebugDraw_ClearFlags(b2DebugDraw self, uint32 flags) Clear flags from the current flags. |
b2DebugDraw_DrawPolygon(b2DebugDraw self, b2Vec2 vertices, int32 vertexCount, b2Color color) Draw a closed polygon provided in CCW order. |
b2DebugDraw_DrawSolidPolygon(b2DebugDraw self, b2Vec2 vertices, int32 vertexCount, b2Color color) Draw a solid closed polygon provided in CCW order. |
b2DebugDraw_DrawCircle(b2DebugDraw self, b2Vec2 center, float32 radius, b2Color color) Draw a circle. |
b2DebugDraw_DrawSolidCircle(b2DebugDraw self, b2Vec2 center, float32 radius, b2Vec2 axis, b2Color color) Draw a solid circle. |
b2DebugDraw_DrawSegment(b2DebugDraw self, b2Vec2 p1, b2Vec2 p2, b2Color color) Draw a line segment. |
b2DebugDraw_DrawXForm(b2DebugDraw self, b2XForm xf) Draw a transform. Choose your own length scale. Parameters: ----------- xf: a transform. |
|
thisownThe membership flag |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 24 18:39:58 2009 | http://epydoc.sourceforge.net |