Hi Julien,
it's OFF, the enum for StateAttribute::OFF is 0x0, so anything not ON has
value OFF.
Regards, Laurens.
On Wed, Sep 9, 2015 at 7:45 PM, Julien Valentin
wrote:
> Hi,
> Iwould like to introspect StateSet in order to know which override value
> is activated
Hi Julien,
I don't recall the why and wherefores of this particular bit of code in
StateSet.cpp (i.e. line 1662 and associated code) but it's a lng time
since I wrote it ;-)
My best guess right now is that the ON/OFF for StateAttribute doesn't
affect anything, a StateAttribute isn't like a
Hi,
Iwould like to introspect StateSet in order to know which override value is
activated for a particular stateset.
I parse AttributeList for this
Code:
for( osg::StateSet::AttributeList::const_iterator
it=ss->getAttributeList().begin();it!=ss->getAttributeList().end() ; it++)
{
3 matches
Mail list logo