29#ifndef _PRECIPITATION_MGR_HXX
30#define _PRECIPITATION_MGR_HXX
32#include <simgear/structure/subsystem_mgr.hxx>
33#include <simgear/environment/precipitation.hxx>
34#include <simgear/props/tiedpropertylist.hxx>
39 osg::ref_ptr<osg::MatrixTransform> transform;
40 osg::ref_ptr<SGPrecipitation> precipitation;
41 float getPrecipitationAtAltitudeMax(
void);
42 simgear::TiedPropertyList _tiedProperties;
52 void update(
double dt)
override;
virtual ~FGPrecipitationMgr()
FGPrecipitaiton Manager destructor.
void init() override
SGSubsystem initialization.
void setPrecipitationLevel(double l)
FGPrecipitationMgr()
FGPrecipitation Manager constructor.
void setupSceneGraph(void)
static const char * staticSubsystemClassId()
void update(double dt) override
Update the precipitation drawing.