root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgParticle/ModularEmitter.cpp @ 11020

Revision 11020, 0.6 kB (checked in by robert, 4 years ago)

From Wang Rui, added osgParticle serializers

Line 
1#include <osgParticle/ModularEmitter>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgParticleModularEmitter,
7                         new osgParticle::ModularEmitter,
8                         osgParticle::ModularEmitter,
9                         "osg::Object osg::Node osgParticle::ParticleProcessor osgParticle::Emitter osgParticle::ModularEmitter" )
10{
11    ADD_OBJECT_SERIALIZER( Counter, osgParticle::Counter, NULL );  // _counter
12    ADD_OBJECT_SERIALIZER( Placer, osgParticle::Placer, NULL );  // _placer
13    ADD_OBJECT_SERIALIZER( Shooter, osgParticle::Shooter, NULL );  // _shooter
14}
Note: See TracBrowser for help on using the browser.