#include <RainState.h>
Public Member Functions | |
| RainState () | |
| ~RainState () | |
| void | SetNumberOfParticles (unsigned int numberOfParticles) |
| unsigned int | GetNumberOfParticles () |
| void | SetVelocity (osg::Vec3 velocity) |
| osg::Vec3 | GetVelocity () |
| void | SetPosition (osg::Vec3 position) |
| osg::Vec3 | GetPosition () |
| void | SetSize (osg::Vec3 size) |
| osg::Vec3 | GetSize () |
Protected Attributes | |
| unsigned int | m_numberOfParticles |
| osg::Vec3 | m_velocity |
| osg::Vec3 | m_middlepos |
| osg::Vec3 | m_size |
Class, which manages the states of a rainy region
| osgCloudyDay::RainState::RainState | ( | ) |
Constructor
| osgCloudyDay::RainState::~RainState | ( | ) |
Deconstructor
| unsigned int osgCloudyDay::RainState::GetNumberOfParticles | ( | ) |
Method returns the number of particles (i.e. the intensity of a rainy region)
| osg::Vec3 osgCloudyDay::RainState::GetPosition | ( | ) |
Method returns the positon of a rainy region
| osg::Vec3 osgCloudyDay::RainState::GetSize | ( | ) |
Method returns the size of a rainy region
| osg::Vec3 osgCloudyDay::RainState::GetVelocity | ( | ) |
Method returns the velocity of a rainy region
| void osgCloudyDay::RainState::SetNumberOfParticles | ( | unsigned int | numberOfParticles | ) |
Method sets the number of particles of a rainy region (i.e. intensity of a rain)
| numberOfParticles | number of particles |
| void osgCloudyDay::RainState::SetPosition | ( | osg::Vec3 | position | ) |
Method sets the position of a rainy region
| position | position of the region |
| void osgCloudyDay::RainState::SetSize | ( | osg::Vec3 | size | ) |
Method sets the size of a rainy region
| size | size of the region |
| void osgCloudyDay::RainState::SetVelocity | ( | osg::Vec3 | velocity | ) |
Method sets the velocity of a rainy region
| velocity | velocity of the region |
1.8.1.1