CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions | Protected Attributes
osgCloudyDay::RainState Class Reference

#include <RainState.h>

List of all members.

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

Detailed Description

Class, which manages the states of a rainy region


Constructor & Destructor Documentation

osgCloudyDay::RainState::RainState ( )

Constructor

osgCloudyDay::RainState::~RainState ( )

Deconstructor


Member Function Documentation

unsigned int osgCloudyDay::RainState::GetNumberOfParticles ( )

Method returns the number of particles (i.e. the intensity of a rainy region)

Returns:
number of particles
osg::Vec3 osgCloudyDay::RainState::GetPosition ( )

Method returns the positon of a rainy region

Returns:
position
osg::Vec3 osgCloudyDay::RainState::GetSize ( )

Method returns the size of a rainy region

Returns:
size
osg::Vec3 osgCloudyDay::RainState::GetVelocity ( )

Method returns the velocity of a rainy region

Returns:
velocity
void osgCloudyDay::RainState::SetNumberOfParticles ( unsigned int  numberOfParticles)

Method sets the number of particles of a rainy region (i.e. intensity of a rain)

Parameters:
numberOfParticlesnumber of particles
void osgCloudyDay::RainState::SetPosition ( osg::Vec3  position)

Method sets the position of a rainy region

Parameters:
positionposition of the region
void osgCloudyDay::RainState::SetSize ( osg::Vec3  size)

Method sets the size of a rainy region

Parameters:
sizesize of the region
void osgCloudyDay::RainState::SetVelocity ( osg::Vec3  velocity)

Method sets the velocity of a rainy region

Parameters:
velocityvelocity of the region

The documentation for this class was generated from the following files: