I have created IParticleSystemSceneNode.
but after i used it i want to drop it.But i can't drop it so how can i stop it from existing?
IParticleSystemSceneNode.
I'm not positive, but it seems like this may be what you need. You can check out the use in tech demo source:
virtual ISceneNodeAnimator* irr::scene::ISceneManager::createDeleteAnimator ( u32 timeMs ) [pure virtual]
Creates a scene node animator, which deletes the scene node after some time automaticly.
Parameters:
when: Time in milliseconds, after when the node will be deleted.
Returns:
Returns the animator. Attach it to a scene node with ISceneNode::addAnimator() and the animator will animate it. If you no longer need the animator, you should call ISceneNodeAnimator::drop(). See IUnknown::drop() for more information.
virtual ISceneNodeAnimator* irr::scene::ISceneManager::createDeleteAnimator ( u32 timeMs ) [pure virtual]
Creates a scene node animator, which deletes the scene node after some time automaticly.
Parameters:
when: Time in milliseconds, after when the node will be deleted.
Returns:
Returns the animator. Attach it to a scene node with ISceneNode::addAnimator() and the animator will animate it. If you no longer need the animator, you should call ISceneNodeAnimator::drop(). See IUnknown::drop() for more information.
- Conner
-
- Posts: 118
- Joined: Thu Sep 18, 2003 10:05 pm
- Location: switzerland
-
- Posts: 118
- Joined: Thu Sep 18, 2003 10:05 pm
- Location: switzerland