Nodes in OpenNI have a reference count, and when that count reaches 0 they are destroyed. The purpose of the ScriptNode is to hold a reference to all objects created by the xml script. This means you have the choice of when you'd like to release your reference to those nodes by calling ScriptNode.Release() or letting its destructor do it for you.
- Alon
--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.