![]() |
VR-Forces 4.10 Class Documentation
|
The weather area object represents a set localized environmental conditions such as local rain and fog. More...
Public Member Functions | |
| DtWeatherAreaObject (DtDe &de, DtUniqueID id) | |
| CTOR. More... | |
| virtual | ~DtWeatherAreaObject () |
| DTOR. More... | |
| DtWeatherAreaObject ()=delete | |
| Default Constructor not implemented – default constructor not allowed. More... | |
| DtWeatherAreaObject (const DtWeatherAreaObject &)=delete | |
| Copy Constructor not implemented – Copy not allowed. More... | |
| DtWeatherAreaObject & | operator= (const DtWeatherAreaObject &)=delete |
| Assignment Operator not implemented – Copy not allowed. More... | |
| virtual void | setBounds (const DtVector &bounds, const float cornerRadius) |
| Sets the bounds of the area. More... | |
| virtual void | setTransform (const DtVector &position, const float orientation) |
| Sets the area transform. More... | |
| virtual const DtVector & | position () const |
| Returns the area origin position in world space. More... | |
| virtual const float | orientation () const |
| Returns yaw orientation in degrees (0 = north). More... | |
| virtual const DtVector & | bounds () const |
| Returns the bounds (x,y,z) of the area. More... | |
| virtual const float | boundsCornerRadius () const |
| Returns the bounds corner radius. More... | |
| virtual void | setPrecipitationIntensity (const float intensity) |
| Sets the precipitation intensity. More... | |
| virtual const float | precipitationIntensity () const |
| Returns the precipitation intensity. More... | |
| virtual void | setPrecipitationType (const unsigned int type) |
| Sets the precipitation type. More... | |
| virtual const unsigned int | precipitationType () const |
| Returns the precipitation type. More... | |
| virtual void | setGroundRainAccumulation (const float depth) |
| Set the ground rain accumulation depth. More... | |
| virtual const float | groundRainAccumulation () const |
| Returns the ground rain accumulation depth. More... | |
| virtual void | setFogColor (const DtVector &color) |
| Sets a fog color for the area. More... | |
| virtual const DtVector & | fogColor () const |
| Returns the fog color for the area. More... | |
| virtual void | setVisibilityDistance (const float distance) |
| Sets a visibility distance for the area. More... | |
| virtual const float | visibilityDistance () const |
| Returns the visibility distance for the area. More... | |
| virtual void | setOvercast (const float overcast) |
| Sets an overcast lighting value for the area. More... | |
| virtual const float | overcast () const |
| Returns the overcast for the area. More... | |
| virtual void | setLightningEnabled (const bool enabled) |
| Sets the lightning enabled flag for the area. More... | |
| virtual const bool | lightningEnabled () const |
| Returns the lightning enabled flag for the area. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtVector | myPosition |
| float | myOrientation |
| DtVector | myBounds |
| float | myBoundsCornerRadius |
| float | myPrecipitationIntensity |
| unsigned int | myPrecipitationType |
| float | myGroundRainAccumulation |
| DtVector | myFogColor |
| float | myVisibilityDistance |
| float | myOvercast |
| bool | myLightningEnabled |
The weather area object represents a set localized environmental conditions such as local rain and fog.
The area is defined by a transformed bounds.
It is a distributed object.
These objects are created by using DtWeatherAreaObjectManager::addWeatherArea().
Changes to this object will produce signals in the DtWeatherAreaObjectManager.
| makVrv::DtWeatherAreaObject::DtWeatherAreaObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Default Constructor not implemented – default constructor not allowed.
|
delete |
Copy Constructor not implemented – Copy not allowed.
|
delete |
Assignment Operator not implemented – Copy not allowed.
|
virtual |
Sets the bounds of the area.
| bounds | The (x,y,z) of the bounds. |
| cornerRadius | The radius at each corner of the bounds. |
|
virtual |
Sets the area transform.
| position | The transform position in world space. |
| orientation | The yaw orientation in degrees (0 = north). |
|
virtual |
Returns the area origin position in world space.
|
virtual |
Returns yaw orientation in degrees (0 = north).
|
virtual |
Returns the bounds (x,y,z) of the area.
|
virtual |
Returns the bounds corner radius.
|
virtual |
Sets the precipitation intensity.
| intensity | The precipitation intensity. |
|
virtual |
Returns the precipitation intensity.
Sets the precipitation type.
| type | The precipitation type. |
Returns the precipitation type.
|
virtual |
Set the ground rain accumulation depth.
| depth | The ground rain accumulation depth. |
|
virtual |
Returns the ground rain accumulation depth.
|
virtual |
Sets a fog color for the area.
| color | The fog color. |
|
virtual |
Returns the fog color for the area.
|
virtual |
Sets a visibility distance for the area.
| distance | The distance. |
|
virtual |
Returns the visibility distance for the area.
|
virtual |
Sets an overcast lighting value for the area.
| overcast | The overcast value (0.0 [clear] - 1.0 [full overcast]). |
|
virtual |
Returns the overcast for the area.
|
virtual |
Sets the lightning enabled flag for the area.
| enabled | Set to true to enable lightning for the area. |
|
virtual |
Returns the lightning enabled flag for the area.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |