Planeshift
FogWeatherObject Class Reference

Fog. More...

#include <weather.h>

Public Member Functions

csBox3 CreateDefaultBBox ()
 
bool CreateMesh ()
 
void Destroy ()
 Destory this weather object and remove any required meshes. More...
 
 FogWeatherObject (WeatherInfo *parent)
 
iSector * GetSector ()
 
WeatherConditions GetType ()
 
WeatherInfoGetWeatherInfo ()
 
WeatherSound GetWeatherSound ()
 
WeatherSound GetWeatherSoundForced ()
 
void MoveTo (WeatherInfo *newParent, iSector *sector)
 
void MoveTo (csVector3)
 
void SetColor (float r, float g, float b)
 
void SetupMesh (csBox3)
 
void StartFollow ()
 
void StopFollow ()
 
virtual void Update (csTicks delta)
 
bool Valid ()
 
virtual ~FogWeatherObject ()
 
- Public Member Functions inherited from WeatherObject
virtual WeatherInfoGetParent ()
 
virtual void SetParent (WeatherInfo *new_parent)
 
 WeatherObject (WeatherInfo *parent)
 
virtual ~WeatherObject ()
 

Static Public Member Functions

static float GetDensity (int density)
 

Additional Inherited Members

- Protected Member Functions inherited from WeatherObject
void RefreshSector ()
 
- Protected Attributes inherited from WeatherObject
csBox3 bbox
 
csRef< iMaterialWrapper > mat
 
csRef< iMeshWrapper > mesh
 
csRef< iMeshFactoryWrapper > mfw
 
WeatherInfoparent
 

Detailed Description

Fog.

Definition at line 178 of file weather.h.

Constructor & Destructor Documentation

FogWeatherObject::FogWeatherObject ( WeatherInfo parent)
virtual FogWeatherObject::~FogWeatherObject ( )
virtual

Member Function Documentation

csBox3 FogWeatherObject::CreateDefaultBBox ( )
inlinevirtual

Implements WeatherObject.

Definition at line 204 of file weather.h.

bool FogWeatherObject::CreateMesh ( )
virtual

Implements WeatherObject.

void FogWeatherObject::Destroy ( )
virtual

Destory this weather object and remove any required meshes.

Reimplemented from WeatherObject.

static float FogWeatherObject::GetDensity ( int  density)
static
iSector* FogWeatherObject::GetSector ( )
virtual

Reimplemented from WeatherObject.

WeatherConditions FogWeatherObject::GetType ( )
inlinevirtual

Reimplemented from WeatherObject.

Definition at line 200 of file weather.h.

WeatherInfo* FogWeatherObject::GetWeatherInfo ( )
inline

Definition at line 206 of file weather.h.

WeatherSound FogWeatherObject::GetWeatherSound ( )
virtual

Reimplemented from WeatherObject.

WeatherSound FogWeatherObject::GetWeatherSoundForced ( )
virtual

Reimplemented from WeatherObject.

void FogWeatherObject::MoveTo ( WeatherInfo newParent,
iSector *  sector 
)
virtual

Reimplemented from WeatherObject.

void FogWeatherObject::MoveTo ( csVector3  )
inlinevirtual

Reimplemented from WeatherObject.

Definition at line 191 of file weather.h.

void FogWeatherObject::SetColor ( float  r,
float  g,
float  b 
)
virtual

Reimplemented from WeatherObject.

void FogWeatherObject::SetupMesh ( csBox3  )
inlinevirtual

Implements WeatherObject.

Definition at line 188 of file weather.h.

void FogWeatherObject::StartFollow ( )
inlinevirtual

Reimplemented from WeatherObject.

Definition at line 192 of file weather.h.

void FogWeatherObject::StopFollow ( )
inlinevirtual

Reimplemented from WeatherObject.

Definition at line 193 of file weather.h.

virtual void FogWeatherObject::Update ( csTicks  delta)
virtual

Reimplemented from WeatherObject.

bool FogWeatherObject::Valid ( )
virtual

Reimplemented from WeatherObject.


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