HI Wangjian,
To enable and disable subgraphs is probably best to use a NodeMask i,e,
// switch off.
node->setNodeMask(0);
// switch on
node->setNodeMask(0x);
Robert.
On Wed, May 6, 2009 at 3:03 AM, Wangjian wrote:
> Hi,
> I create a ParticleSystem,such as:
> _ps=create
Hi,
I create a ParticleSystem,such as:
_ps=create_complex_particle_system(_sceneRoot);
osgParticle::ParticleSystemUpdater
*psu=newosgParticle::ParticleSystemUpdater;
psu->addParticleSystem(_ps);
_sceneRoot->addChild(psu);
Now I hope that the psu disappear,so I write :_sceneRoo
2 matches
Mail list logo