|
Revision 11020, 0.6 kB
(checked in by robert, 3 years ago)
|
|
From Wang Rui, added osgParticle serializers
|
| Line | |
|---|
| 1 | #include <osgParticle/ConstantRateCounter> |
|---|
| 2 | #include <osgDB/ObjectWrapper> |
|---|
| 3 | #include <osgDB/InputStream> |
|---|
| 4 | #include <osgDB/OutputStream> |
|---|
| 5 | |
|---|
| 6 | REGISTER_OBJECT_WRAPPER( osgParticleConstantRateCounter, |
|---|
| 7 | new osgParticle::ConstantRateCounter, |
|---|
| 8 | osgParticle::ConstantRateCounter, |
|---|
| 9 | "osg::Object osgParticle::Counter osgParticle::ConstantRateCounter" ) |
|---|
| 10 | { |
|---|
| 11 | ADD_INT_SERIALIZER( MinimumNumberOfParticlesToCreate, 0 ); |
|---|
| 12 | ADD_DOUBLE_SERIALIZER( NumberOfParticlesPerSecondToCreate, 0.0 ); |
|---|
| 13 | } |
|---|