iRainState Struct Reference
This interface describes the API for the rain mesh object. More...
#include <rain.h>
Inheritance diagram for iRainState:

Public Methods | |
virtual void | SetParticleCount (int num)=0 |
Set the number of particles to use. | |
virtual int | GetParticleCount () const=0 |
Get the number of particles used. | |
virtual void | SetDropSize (float dropwidth, float dropheight)=0 |
Set the size of the drops. | |
virtual void | GetDropSize (float &dropwidth, float &dropheight) const=0 |
Get the size of the rain drops. | |
virtual void | SetBox (const csVector3 &minbox, const csVector3 &maxbox)=0 |
Set box. | |
virtual void | GetBox (csVector3 &minbox, csVector3 &maxbox) const=0 |
Get box. | |
virtual void | SetLighting (bool l)=0 |
Enable or disable lighting. | |
virtual bool | GetLighting () const=0 |
See if lighting is enabled. | |
virtual void | SetFallSpeed (const csVector3 &fspeed)=0 |
Set fall speed. | |
virtual const csVector3 & | GetFallSpeed () const=0 |
Get fall speed. | |
virtual void | SetCollisionDetection (bool cd)=0 |
Enable/Disable Collision Detection for drops. | |
virtual bool | GetCollisionDetection () const=0 |
Get CD flag. | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of particle system. | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get material of particle system. | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. | |
virtual uint | GetMixMode () const=0 |
Get mix mode. | |
virtual void | SetColor (const csColor &color)=0 |
Set particle color. | |
virtual const csColor & | GetColor () const=0 |
Get particle color. |
Detailed Description
This interface describes the API for the rain mesh object.
Definition at line 32 of file rain.h.
Member Function Documentation
|
Get box.
|
|
Get CD flag.
|
|
Get particle color.
|
|
Get the size of the rain drops.
|
|
Get fall speed.
|
|
See if lighting is enabled.
|
|
Get material of particle system.
|
|
Get mix mode.
|
|
Get the number of particles used.
|
|
Set box.
|
|
Enable/Disable Collision Detection for drops.
|
|
Set particle color.
|
|
Set the size of the drops.
|
|
Set fall speed.
|
|
Enable or disable lighting.
|
|
Set material of particle system.
|
|
Set mix mode.
|
|
Set the number of particles to use.
|
The documentation for this struct was generated from the following file:
- imesh/rain.h
Generated for Crystal Space by doxygen 1.2.18