![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
A class used to represent an emitter of random particles from a disc. More...
#include <DiscEmitter.h>
Public Member Functions | |
| DiscEmitter (void) | |
| Default constructor. | |
| DiscEmitter (float discRadius, float angle) | |
| Constructor. param[in] rad The radius of the emitter disc. param[in] angle Maximum emission angle in degrees [0, 90]. | |
| void | getParticle (Particle &part) |
| Produces a random particle. | |
Private Attributes | |
| float | discRadius |
| The radius of the disc. | |
| float | maxEmissionAngle |
| Maximum emission angle in degrees relative to disc normal (0,0,1). | |
A class used to represent an emitter of random particles from a disc.
| MaliSDK::DiscEmitter::DiscEmitter | ( | void | ) |
Default constructor.
Constructor. param[in] rad The radius of the emitter disc. param[in] angle Maximum emission angle in degrees [0, 90].
| void MaliSDK::DiscEmitter::getParticle | ( | Particle & | part | ) |
Produces a random particle.
| [out] | part | A particle. |
|
private |
The radius of the disc.
|
private |
Maximum emission angle in degrees relative to disc normal (0,0,1).