#include <CloudLayerUpdate.h>
Public Member Functions | |
| CloudLayerUpdate (void) | |
| ~CloudLayerUpdate (void) | |
| virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
| bool | operator() (unsigned short i, unsigned short j) |
| bool | CloudAdded () |
Public Attributes | |
| float * | depth |
| osg::ref_ptr< osg::Geometry > | bb_geo |
Class, which upadates the states of the clouds at runtime. Sorts the indices after the depth, add some clouds and so on.
| osgCloudyDay::CloudLayerUpdate::CloudLayerUpdate | ( | void | ) |
Standardconstructor
| osgCloudyDay::CloudLayerUpdate::~CloudLayerUpdate | ( | void | ) |
Standarddeconstructor
| bool osgCloudyDay::CloudLayerUpdate::CloudAdded | ( | ) |
Returns true, if a cloud is added in the last call of CloudLayerUpdate. Otherwise, false
|
virtual |
Update callback. Sorts the particle (before culling).
|
inline |
Operator to sort the sprites within the cloud.
| float* osgCloudyDay::CloudLayerUpdate::depth |
Helper array to sort the indices after depth
1.8.1.1