Button - SetImage --- Irrlicht.Net

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Witch1986
Posts: 3
Joined: Wed Jul 12, 2006 10:29 pm

Button - SetImage --- Irrlicht.Net

Post by Witch1986 »

Hi!

I have some question.

Is it possible the "IGUIButton" class to use in Irrlicht.Net?

Give it some trick or somthing else?

Please help me!

I need the class and I will Write in C#!

Witch
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

I think that tutorial #5 shows how to do this. You just need to create a IGUIElement object and then assign it using env.addbutton(), etc.


C#

Code: Select all

Irrlicht.GUI.IGUIElement myButton;
myButton = env.AddButton(new Irrlicht.Core.Rect(0, 0, 10, 10), 0, 1, "ButtonText");
Locked