CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iEmitMix Struct Reference

mix value emitter - returns a weighted random mix of other emitters. More...

#include <emit.h>

Inheritance diagram for iEmitMix:

iEmitGen3D iBase List of all members.

Public Methods

virtual void AddEmitter (float weight, iEmitGen3D *emit)=0
 add a weighted emitter to the mix. More...

virtual float GetTotalWeight ()=0
 get the total weight in this mix. More...

virtual int GetEmitterCount ()=0
 get the number of emitters in this mix. More...

virtual void GetContent (int num, float &weight, iEmitGen3D *&emit)=0
 get content, returns emitters and their weight by a number (0..number-1). More...


Detailed Description

mix value emitter - returns a weighted random mix of other emitters.

Definition at line 87 of file emit.h.


Member Function Documentation

virtual void iEmitMix::AddEmitter float    weight,
iEmitGen3D   emit
[pure virtual]
 

add a weighted emitter to the mix.

virtual void iEmitMix::GetContent int    num,
float &    weight,
iEmitGen3D *&    emit
[pure virtual]
 

get content, returns emitters and their weight by a number (0..number-1).

virtual int iEmitMix::GetEmitterCount   [pure virtual]
 

get the number of emitters in this mix.

virtual float iEmitMix::GetTotalWeight   [pure virtual]
 

get the total weight in this mix.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14