Announcing Irrlicht.NET
|
In version 0.7, together with some other enhancements of the engine, I’ll include the first version of Irrlicht.NET. This will be a .NET class library, making the engine available for C#, VisualBasic.NET, Asp.NET, Delphi.NET and whatever. From then on, Irrlicht.NET will be included in every SDK release and become an important part of the engine.
The first version of Irrlicht.NET will not be complete at all, but you’ll be able to do a lot of things already. My first test with C# worked with no problem and looked like this:
using System;
using Irrlicht;
using Irrlicht.Video;
/// <summary>
/// Example application using Irrlicht.NET
/// </summary>
class ExampleApp
{
[STAThread]
static void Main(string[] args)
{
IrrlichtDevice device =
new IrrlichtDevice(DriverType.SOFTWARE);
device.ResizeAble = true;
device.WindowCaption = "Irrlicht.NET test"; while(device.run())
if (device.WindowActive)
{
device.VideoDriver.beginScene(true, true, 0);
// draw something here.
device.VideoDriver.endScene();
}
}
}
|
|