WhirlyGlobe  1.2
A 3D interactive globe toolkit for iOS
WhirlyGlobe::ParticleGenerator::ParticleSystem Class Reference

#include <ParticleGenerator.h>

Inheritance diagram for WhirlyGlobe::ParticleGenerator::ParticleSystem:
WhirlyGlobe::Identifiable

List of all members.

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< RGBAColorcolors
 Colors, random selection.
float minVis
 Min and max visibility parameters.
float maxVis

Detailed Description

Representation of a particle system. This will be used to generate a certain number of particles per frame.


The documentation for this class was generated from the following file: