iEmitMix Struct Reference
mix value emitter - returns a weighted random mix of other emitters. More...
#include <emit.h>
Inheritance diagram for iEmitMix:

Public Methods | |
virtual void | AddEmitter (float weight, iEmitGen3D *emit)=0 |
add a weighted emitter to the mix | |
virtual void | RemoveEmitter (int num)=0 |
removes an emitter from the mix given a zero based emitter number. | |
virtual float | GetTotalWeight ()=0 |
get the total weight in this mix | |
virtual int | GetEmitterCount ()=0 |
get the number of emitters in this mix | |
virtual void | AdjustEmitterWeight (int num, float weight)=0 |
adjust the weight of an emitter given a zero based emitter number Use GetEmitterCount() and GetContent() to enumerate through the mix and find the index of an emitter. | |
virtual void | GetContent (int num, float &weight, iEmitGen3D *&emit)=0 |
get content, returns emitters and their weight by a number (0..number-1) |
Detailed Description
mix value emitter - returns a weighted random mix of other emitters.
Definition at line 88 of file emit.h.
Member Function Documentation
|
add a weighted emitter to the mix
|
|
adjust the weight of an emitter given a zero based emitter number Use GetEmitterCount() and GetContent() to enumerate through the mix and find the index of an emitter.
|
|
get content, returns emitters and their weight by a number (0..number-1)
|
|
get the number of emitters in this mix
|
|
get the total weight in this mix
|
|
removes an emitter from the mix given a zero based emitter number. Use GetEmitterCount() and GetContent() to enumerate through the mix and find the index of an emitter. |
The documentation for this struct was generated from the following file:
- imesh/emit.h
Generated for Crystal Space by doxygen 1.2.18