Skip to content

Inspector.Xna module

Robert B Colton edited this page Aug 12, 2016 · 1 revision

Adds editors for XNA types (Vector3, Color, etc.) to the Inspector module.

MonoGame module

Provides a number of utilities and controls for working with MonoGame content in WPF.

Provides

  • GraphicsDeviceService service that implements MonoGame's IGraphicsDeviceService
  • DrawingSurface control that uses D3DImage as described here.

NuGet package

Dependencies

Usage

public class MyDrawingSurface : DrawingSurface
{
    protected override RaiseDraw(DrawEventArgs args)
    {
        args.GraphicsDevice.Clear(Color.LightGreen);
        base.RaiseDraw(args);
    }
}
Clone this wiki locally