root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp @ 13041

Revision 13041, 1.0 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osgParticle/ParticleProcessor>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgParticleParticleProcessor,
7                         /*new osgParticle::ParticleProcessor*/NULL,
8                         osgParticle::ParticleProcessor,
9                         "osg::Object osg::Node osgParticle::ParticleProcessor" )
10{
11    BEGIN_ENUM_SERIALIZER( ReferenceFrame, RELATIVE_RF );
12        ADD_ENUM_VALUE( RELATIVE_RF );
13        ADD_ENUM_VALUE( ABSOLUTE_RF );
14    END_ENUM_SERIALIZER();  // _rf
15
16    ADD_BOOL_SERIALIZER( Enabled, true );  // _enabled
17    ADD_OBJECT_SERIALIZER( ParticleSystem, osgParticle::ParticleSystem, NULL );  // _ps
18    ADD_BOOL_SERIALIZER( Endless, true );  // _endless
19    ADD_DOUBLE_SERIALIZER( LifeTime, 0.0 );  // _lifeTime
20    ADD_DOUBLE_SERIALIZER( StartTime, 0.0 );  // _startTime
21    ADD_DOUBLE_SERIALIZER( CurrentTime, 0.0 );  // _currentTime
22    ADD_DOUBLE_SERIALIZER( ResetTime, 0.0 );  // _resetTime
23}
Note: See TracBrowser for help on using the browser.