C# Class FarseerPhysics.Samples.MediaSystem.LineBatch

Inheritance: IDisposable
Exibir arquivo Open project: tinco/Farseer-Physics Class Usage Examples

Public Methods

Method Description
Begin ( Matrix projection, Matrix view ) : void
Dispose ( ) : void
DrawLine ( Vector2 v1, Vector2 v2 ) : void
DrawLine ( Vector2 v1, Vector2 v2, Color color ) : void
DrawLineShape ( Shape shape ) : void
DrawLineShape ( Shape shape, Color color ) : void
DrawVertices ( Vertices verts ) : void
DrawVertices ( Vertices verts, Color color ) : void
End ( ) : void
LineBatch ( GraphicsDevice graphicsDevice ) : System
LineBatch ( GraphicsDevice graphicsDevice, int bufferSize ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Flush ( ) : void

Method Details

Begin() public method

public Begin ( Matrix projection, Matrix view ) : void
projection Matrix
view Matrix
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DrawLine() public method

public DrawLine ( Vector2 v1, Vector2 v2 ) : void
v1 Vector2
v2 Vector2
return void

DrawLine() public method

public DrawLine ( Vector2 v1, Vector2 v2, Color color ) : void
v1 Vector2
v2 Vector2
color Color
return void

DrawLineShape() public method

public DrawLineShape ( Shape shape ) : void
shape FarseerPhysics.Collision.Shapes.Shape
return void

DrawLineShape() public method

public DrawLineShape ( Shape shape, Color color ) : void
shape FarseerPhysics.Collision.Shapes.Shape
color Color
return void

DrawVertices() public method

public DrawVertices ( Vertices verts ) : void
verts Vertices
return void

DrawVertices() public method

public DrawVertices ( Vertices verts, Color color ) : void
verts Vertices
color Color
return void

End() public method

public End ( ) : void
return void

LineBatch() public method

public LineBatch ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System

LineBatch() public method

public LineBatch ( GraphicsDevice graphicsDevice, int bufferSize ) : System
graphicsDevice GraphicsDevice
bufferSize int
return System