C# Class FarseerPhysics.Samples.DrawingSystem.LineBatch

Inheritance: IDisposable
Mostrar archivo 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
End ( ) : void
LineBatch ( GraphicsDevice graphicsDevice, int bufferSize = DefaultBufferSize ) : 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

End() public method

public End ( ) : void
return void

LineBatch() public method

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