| 1 | #include <osgParticle/PrecipitationEffect> |
|---|
| 2 | #include <osgDB/ObjectWrapper> |
|---|
| 3 | #include <osgDB/InputStream> |
|---|
| 4 | #include <osgDB/OutputStream> |
|---|
| 5 | |
|---|
| 6 | REGISTER_OBJECT_WRAPPER( osgParticlePrecipitationEffect, |
|---|
| 7 | new osgParticle::PrecipitationEffect, |
|---|
| 8 | osgParticle::PrecipitationEffect, |
|---|
| 9 | "osg::Object osg::Node osgParticle::PrecipitationEffect" ) |
|---|
| 10 | { |
|---|
| 11 | ADD_VEC3_SERIALIZER( Wind, osg::Vec3() ); |
|---|
| 12 | ADD_FLOAT_SERIALIZER( ParticleSpeed, 0.0f ); |
|---|
| 13 | ADD_FLOAT_SERIALIZER( ParticleSize, 0.0f ); |
|---|
| 14 | ADD_VEC4_SERIALIZER( ParticleColor, osg::Vec4() ); |
|---|
| 15 | ADD_FLOAT_SERIALIZER( MaximumParticleDensity, 0.0f ); |
|---|
| 16 | ADD_VEC3_SERIALIZER( CellSize, osg::Vec3() ); |
|---|
| 17 | ADD_FLOAT_SERIALIZER( NearTransition, 0.0f ); |
|---|
| 18 | ADD_FLOAT_SERIALIZER( FarTransition, 0.0f ); |
|---|
| 19 | ADD_BOOL_SERIALIZER( UseFarLineSegments, false ); |
|---|
| 20 | ADD_OBJECT_SERIALIZER( Fog, osg::Fog, NULL ); |
|---|
| 21 | } |
|---|