|
Revision 13041, 1.0 kB
(checked in by robert, 14 months 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 | |
|---|
| 6 | REGISTER_OBJECT_WRAPPER( osgParticleParticleProcessor, |
|---|
| 7 | 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(); |
|---|
| 15 | |
|---|
| 16 | ADD_BOOL_SERIALIZER( Enabled, true ); |
|---|
| 17 | ADD_OBJECT_SERIALIZER( ParticleSystem, osgParticle::ParticleSystem, NULL ); |
|---|
| 18 | ADD_BOOL_SERIALIZER( Endless, true ); |
|---|
| 19 | ADD_DOUBLE_SERIALIZER( LifeTime, 0.0 ); |
|---|
| 20 | ADD_DOUBLE_SERIALIZER( StartTime, 0.0 ); |
|---|
| 21 | ADD_DOUBLE_SERIALIZER( CurrentTime, 0.0 ); |
|---|
| 22 | ADD_DOUBLE_SERIALIZER( ResetTime, 0.0 ); |
|---|
| 23 | } |
|---|