#include <Cloud2DState.h>
List of all members.
Public Types |
| enum | Cloud2D_Type {
C2DT_Perlin,
C2DT_Cirrus,
C2DT_CirrusStratus,
C2DT_CirrusCumulus,
C2DT_AltStratus
} |
Protected Attributes |
|
osg::Vec3 | m_middlepoint |
|
osg::Vec2 | m_size |
|
int | m_type |
Detailed Description
Class to configure a 2D cloud
Constructor & Destructor Documentation
| osgCloudyDay::Cloud2DState::Cloud2DState |
( |
int |
cat | ) |
|
Constructor to create a new 2D cloud
- Parameters:
-
| osgCloudyDay::Cloud2DState::~Cloud2DState |
( |
void |
| ) |
|
Member Function Documentation
| int osgCloudyDay::Cloud2DState::GetCategory |
( |
| ) |
|
Returns the category of the 2D cloud
- Returns:
- category of the 2D cloud
| osg::Vec3 osgCloudyDay::Cloud2DState::getMiddlePoint |
( |
| ) |
|
Returns the positon of the 2D cloud
- Returns:
- position of the 2D cloud
| osg::Vec2 osgCloudyDay::Cloud2DState::getSize |
( |
| ) |
|
Returns the size of the 2D cloud
- Returns:
- size of the 2D cloud
| void osgCloudyDay::Cloud2DState::setMiddlePoint |
( |
osg::Vec3 |
middlepoint | ) |
|
Set the position of the 2D cloud
- Parameters:
-
| middlepoint | position of the cloud |
| void osgCloudyDay::Cloud2DState::setSize |
( |
osg::Vec2 |
size | ) |
|
Set the positsizeion of the 2D cloud
- Parameters:
-
The documentation for this class was generated from the following files: