How to set an individual IGUIElement its transparancy?
-
- Posts: 28
- Joined: Mon Mar 27, 2017 7:29 am
How to set an individual IGUIElement its transparancy?
And not all of the others which happens when you use the skin.
For my end result I am working on:
- Volume Voxel System
- Simple light weight physics engine
- Volume Voxel System
- Simple light weight physics engine
Re: How to set an individual IGUIElement its transparancy?
Some elements have setOverrideColor functions, thought not all (more in svn trunk version of Irrlicht).
Otherwise it's tricky. You could override the skin and check for your specific element (and call default-functions of default-skin otherwise).
Or you could copy the code of a gui-element and modify it in any way and create your own.
Otherwise it's tricky. You could override the skin and check for your specific element (and call default-functions of default-skin otherwise).
Or you could copy the code of a gui-element and modify it in any way and create your own.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 28
- Joined: Mon Mar 27, 2017 7:29 am
Re: How to set an individual IGUIElement its transparancy?
Does this mean it will be in the next (or the next after) release?CuteAline wrote:(more in svn trunk version of Irrlicht).
For my end result I am working on:
- Volume Voxel System
- Simple light weight physics engine
- Volume Voxel System
- Simple light weight physics engine
Re: How to set an individual IGUIElement its transparancy?
Yes, svn (https://sourceforge.net/p/irrlicht/code/HEAD/tree/) is what Irrlicht 1.9 will be. But you can also just use it now (I work with svn version all the time in my projects).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm