ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Setting DebugDataVisible to full by default?
person icon
Luthyr
Guest
Quote
2010-01-10 20:33:30

I've been trying to figure out how to get custom scene nodes to be added with DebugDataVisible set to full by default, similar to how irrKlangNodes are right now. Right now, I have narrowed it down to the ID being read separately that turns it on by default, but I can't seem to find anywhere to add my own nodes to this sort of list.

Is there some way I can detect whether the scenenode is being ran in irrEdit versus a normal setting? I'm referencing the same code files for both the irrEdit plugin and my game project so that I don't have to manage two separate versions.

Thanks!

person icon
erik
Guest
Quote
2010-01-11 09:58:57

You can do this using ISceneManager::getParameters(). Check if irr::scene::IRR_SCENE_MANAGER_IS_EDITOR is set.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |