![]() |
Public API Reference |
#include <rain.h>
Inheritance diagram for iRainState:
Public Methods | |
virtual void | SetParticleCount (int num)=0 |
Set the number of particles to use. More... | |
virtual int | GetParticleCount () const=0 |
Get the number of particles used. More... | |
virtual void | SetDropSize (float dropwidth, float dropheight)=0 |
Set the size of the drops. More... | |
virtual void | GetDropSize (float &dropwidth, float &dropheight) const=0 |
Get the size of the rain drops. More... | |
virtual void | SetBox (const csVector3 &minbox, const csVector3 &maxbox)=0 |
Set box. More... | |
virtual void | GetBox (csVector3 &minbox, csVector3 &maxbox) const=0 |
Get box. More... | |
virtual void | SetLighting (bool l)=0 |
Enable or disable lighting. More... | |
virtual bool | GetLighting () const=0 |
See if lighting is enabled. More... | |
virtual void | SetFallSpeed (const csVector3 &fspeed)=0 |
Set fall speed. More... | |
virtual const csVector3 & | GetFallSpeed () const=0 |
Get fall speed. More... | |
virtual void | SetCollisionDetection (bool cd)=0 |
Enable/Disable Collision Detection for drops. More... | |
virtual bool | GetCollisionDetection () const=0 |
Get CD flag. More... | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of particle system. More... | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get material of particle system. More... | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. More... | |
virtual uint | GetMixMode () const=0 |
Get mix mode. More... | |
virtual void | SetColor (const csColor &color)=0 |
Set particle color. More... | |
virtual const csColor & | GetColor () const=0 |
Get particle color. More... |
Definition at line 32 of file rain.h.
|
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.
|