CloudyDay
 All Classes Functions Variables Enumerations
RainState.h
1 #pragma once
2 #include <osg/Vec3>
3 
4 namespace osgCloudyDay
5 {
9  class RainState
10  {
11  public:
15  RainState();
19  ~RainState();
20 
25  void SetNumberOfParticles(unsigned int numberOfParticles);
30  unsigned int GetNumberOfParticles();
31 
36  void SetVelocity(osg::Vec3 velocity);
41  osg::Vec3 GetVelocity();
42 
47  void SetPosition(osg::Vec3 position);
52  osg::Vec3 GetPosition();
53 
58  void SetSize(osg::Vec3 size);
63  osg::Vec3 GetSize();
64  protected:
65  unsigned int m_numberOfParticles;
66  osg::Vec3 m_velocity;
67  osg::Vec3 m_middlepos;
68  osg::Vec3 m_size;
69  };
70 }