b2Draw
b2Draw
Box2D.CommonInheritance: System.Object
Constructors
b2Draw()
b2Draw()()b2Draw(int)
b2Draw(int)(System.Int32 ptm)Parameters:
ptm (System.Int32)Properties
Flags(Box2D.Common.b2DrawFlags)
PTMRatio(System.Int32)
Methods
AppendFlags(b2DrawFlags)
AppendFlags(b2DrawFlags)(Box2D.Common.b2DrawFlags flags)Parameters:
flags (Box2D.Common.b2DrawFlags)Example
ClearFlags(b2DrawFlags)
ClearFlags(b2DrawFlags)(Box2D.Common.b2DrawFlags flags)Parameters:
flags (Box2D.Common.b2DrawFlags)Example
DrawCircle(b2Vec2, float, b2Color)
DrawCircle(b2Vec2, float, b2Color)(Box2D.Common.b2Vec2 center, System.Single radius, Box2D.Common.b2Color color)Parameters:
center (Box2D.Common.b2Vec2)radius (System.Single)color (Box2D.Common.b2Color)Example
DrawPolygon(b2Vec2[], int, b2Color)
DrawPolygon(b2Vec2[], int, b2Color)(Box2D.Common.b2Vec2[] vertices, System.Int32 vertexCount, Box2D.Common.b2Color color)Parameters:
vertices (Box2D.Common.b2Vec2[])vertexCount (System.Int32)color (Box2D.Common.b2Color)Example
DrawSegment(b2Vec2, b2Vec2, b2Color)
DrawSegment(b2Vec2, b2Vec2, b2Color)(Box2D.Common.b2Vec2 p1, Box2D.Common.b2Vec2 p2, Box2D.Common.b2Color color)Parameters:
p1 (Box2D.Common.b2Vec2)p2 (Box2D.Common.b2Vec2)color (Box2D.Common.b2Color)Example
DrawSolidCircle(b2Vec2, float, b2Vec2, b2Color)
DrawSolidCircle(b2Vec2, float, b2Vec2, b2Color)(Box2D.Common.b2Vec2 center, System.Single radius, Box2D.Common.b2Vec2 axis, Box2D.Common.b2Color color)Parameters:
center (Box2D.Common.b2Vec2)radius (System.Single)axis (Box2D.Common.b2Vec2)color (Box2D.Common.b2Color)Example
DrawSolidPolygon(b2Vec2[], int, b2Color)
DrawSolidPolygon(b2Vec2[], int, b2Color)(Box2D.Common.b2Vec2[] vertices, System.Int32 vertexCount, Box2D.Common.b2Color color)Parameters:
vertices (Box2D.Common.b2Vec2[])vertexCount (System.Int32)color (Box2D.Common.b2Color)Example
DrawTransform(b2Transform)
DrawTransform(b2Transform)(Box2D.Common.b2Transform xf)Parameters:
xf (Box2D.Common.b2Transform)Example
SetFlags(b2DrawFlags)
SetFlags(b2DrawFlags)(Box2D.Common.b2DrawFlags flags)Parameters:
flags (Box2D.Common.b2DrawFlags)Example