|
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#include <ParticleGenerator.h>
Public Member Functions | |
| Particle | generateParticle () |
| Make a new randomized paticle. | |
Static Public Member Functions | |
| static ParticleSystem | makeDefault () |
| Return a reasonable set of defaults. | |
Public Attributes | |
| Point3f | loc |
| Starting location for particles. | |
| Vector3f | dirN |
| Axes for the particle system. Used to orient local math. | |
| Vector3f | dirE |
| Vector3f | dirUp |
| float | minLength |
| Randomizable particle length. | |
| float | maxLength |
| int | numPerSecMin |
| Number of particles to generate per second, randomized. | |
| int | numPerSecMax |
| float | minLifetime |
| Randomizable particle lifetime in sections. | |
| float | maxLifetime |
| float | minPhi |
| Range of the angle from the dirN to -dirN (180 total) | |
| float | maxPhi |
| std::vector< RGBAColor > | colors |
| Colors, random selection. | |
| float | minVis |
| Min and max visibility parameters. | |
| float | maxVis |
Representation of a particle system. This will be used to generate a certain number of particles per frame.