![]() |
VR-Forces 5.0.1 Developer's Guide
|
A blowing sand specific weather layer uses one or more weather effects to create a top level visual.
A blowing sand weather layer is created using the following: DtWeatherLayerFactory::instance(myDe).create(DtWeatherLayer::LayerTypeBlowingSand)
The DtSkyObject class generally owns and creates weather layers depending on the current weather conditions and active weather areas.

Public Member Functions | |
| virtual | ~DtWeatherLayerBlowingSand () |
| DtWeatherLayerBlowingSand (const DtWeatherLayerBlowingSand &other)=delete | |
| DtWeatherLayerBlowingSand & | operator= (const DtWeatherLayerBlowingSand &other)=delete |
| virtual void | init (DtDe &de) |
Public Member Functions inherited from makVrv::DtWeatherLayer | |
| virtual | ~DtWeatherLayer () |
| virtual void | releaseGLObjects (osg::State *state) const |
| virtual DtWeatherLayer::LayerType | layerType () const |
| virtual void | setIntensity (float level) |
| float | intensity () const |
| virtual void | setWind (float windDirectionRad, float windSpeedMps) |
| virtual void | simulationUpdate (float timeStep, double currentTime, DtJobSplitter *jobSplitter) |
| virtual void | postSimulationUpdate (float timeStep, double currentTime) |
| virtual void | cullUpdate (const osg::Vec3d &camPos, const osg::Matrixd &basis, DtJobSplitter *jobSplitter) |
| virtual void | drawWeatherEffects (DtWeatherEffect::DrawData &drawData) |
| virtual void | drawAreaWeatherEffects (DtWeatherEffect::DrawData &drawData, DtWeatherArea *area) |
| virtual void | addWeatherEffect (DtWeatherEffect *effect) |
| virtual void | setCulled (bool culled) |
| virtual bool | culled () const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Protected Member Functions | |
| DtWeatherLayerBlowingSand () | |
Protected Member Functions inherited from makVrv::DtWeatherLayer | |
| DtWeatherLayer () | |
| virtual void | computeSurfaceParameters (DtWeatherEffect::DrawData &drawData, DtWeatherArea *area) |
Friends | |
| class | DtWeatherLayerFactory |
Additional Inherited Members | |
Public Types inherited from makVrv::DtWeatherLayer | |
| enum | LayerType { LayerTypeNone, LayerTypeBlowingDust, LayerTypeBlowingSand, LayerTypeBlowingSnow, LayerTypeHail } |
| enum | EffectConstrainType { EffectConstrainType2d, EffectConstrainType3d, EffectConstrainType2dAndTop } |
Protected Types inherited from makVrv::DtWeatherLayer | |
| typedef std::vector < DtWeatherEffect * > | WeatherEffectSet |
Protected Attributes inherited from makVrv::DtWeatherLayer | |
| LayerType | myLayerType |
| WeatherEffectSet | myWeatherEffectSet |
| float | myIntensity |
| bool | myCulled |
| EffectConstrainType | myEffectConstrainType |
|
virtual |
DTOR.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
CTOR.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Called after creation to initialize effects.
Reimplemented from makVrv::DtWeatherLayer.
|
friend |