CrystalSpace

Public API Reference

imesh/particles.h File Reference

Particle System Interface. More...

#include "csutil/scf_interface.h"
#include "csgeom/obb.h"
#include "csgeom/vector2.h"
#include "csgeom/vector3.h"
#include "csgeom/quaternion.h"
#include "csutil/array.h"
#include "csutil/cscolor.h"
#include "csutil/ref.h"

Go to the source code of this file.

Classes

struct  csParticle
 Data representation of a single particle. More...
struct  csParticleAux
 Auxiliary data per particle, not used as often. More...
struct  csParticleBuffer
 Buffer holder for particle buffers. More...
struct  csParticleParameterSet
 Parameters that can be modified based on age for the linear effector (iParticleBuiltinEffectorLinear). More...
struct  iParticleBuiltinEffectorFactory
 Factory for builtin effectors. More...
struct  iParticleBuiltinEffectorForce
 Simple force/acceleration applied to particles. More...
struct  iParticleBuiltinEffectorLight
 This effector will create and attach a iLight to each particle of the system. More...
struct  iParticleBuiltinEffectorLinColor
 Simple linear interpolation of particle color based on particle lifetime. More...
struct  iParticleBuiltinEffectorLinear
 Linear interpolation of various parameters based on particle lifetime. More...
struct  iParticleBuiltinEffectorVelocityField
 Velocity field effector. More...
struct  iParticleBuiltinEmitterBase
 Base interface for the emitters already built-in. More...
struct  iParticleBuiltinEmitterBox
 An emitter spawning the new particles around a box geometry. More...
struct  iParticleBuiltinEmitterCone
 An emitter spawning the new particles around a cone geometry. More...
struct  iParticleBuiltinEmitterCylinder
 An emitter spawning the new particles around a cylinder geometry. More...
struct  iParticleBuiltinEmitterFactory
 Factory for built-in emitters. More...
struct  iParticleBuiltinEmitterSphere
 An emitter spawning the new particles around a sphere geometry. More...
struct  iParticleEffector
 Base interface for particle effectors. More...
struct  iParticleEmitter
 A particle emitter. More...
struct  iParticleSystem
 Properties for particle system object. More...
struct  iParticleSystemBase
 Base properties for particle system. More...
struct  iParticleSystemFactory
 Properties for particle system factory. More...

Enumerations

Default particle system effectors



enum  csParticleBuiltinEffectorVFType { CS_PARTICLE_BUILTIN_SPIRAL, CS_PARTICLE_BUILTIN_RADIALPOINT }
 

Velocity field effector types Determine the ODE the velocity field effector will solve to get new particle positions from current ones.

More...
enum  csParticleParameterMask {
  CS_PARTICLE_MASK_MASS = 1, CS_PARTICLE_MASK_LINEARVELOCITY = 2, CS_PARTICLE_MASK_ANGULARVELOCITY = 4, CS_PARTICLE_MASK_COLOR = 8,
  CS_PARTICLE_MASK_PARTICLESIZE = 16, CS_PARTICLE_MASK_ALL
}
 

Mask to influence which parameters we will interpolate in the linear effector (iParticleBuiltinEffectorLinear).

More...
Default particle system emitters



enum  csParticleBuiltinEmitterPlacement { CS_PARTICLE_BUILTIN_CENTER, CS_PARTICLE_BUILTIN_VOLUME, CS_PARTICLE_BUILTIN_SURFACE }
 

Set where in the emitter the builtin emitters should spawn their particles.

More...
Particle systems



enum  csParticleIntegrationMode { CS_PARTICLE_INTEGRATE_NONE, CS_PARTICLE_INTEGRATE_LINEAR, CS_PARTICLE_INTEGRATE_BOTH }
 

Particle integration mode.

More...
enum  csParticleRenderOrientation {
  CS_PARTICLE_CAMERAFACE, CS_PARTICLE_CAMERAFACE_APPROX, CS_PARTICLE_ORIENT_COMMON, CS_PARTICLE_ORIENT_COMMON_APPROX,
  CS_PARTICLE_ORIENT_VELOCITY, CS_PARTICLE_ORIENT_SELF, CS_PARTICLE_ORIENT_SELF_FORWARD
}
 

Particle orientation.

More...
enum  csParticleRotationMode { CS_PARTICLE_ROTATE_NONE, CS_PARTICLE_ROTATE_TEXCOORD, CS_PARTICLE_ROTATE_VERTICES }
 

Rotation mode.

More...
enum  csParticleSortMode { CS_PARTICLE_SORT_NONE, CS_PARTICLE_SORT_DISTANCE, CS_PARTICLE_SORT_DOT }
 

Sorting modes to be used by the particle renderer.

More...
enum  csParticleTransformMode { CS_PARTICLE_LOCAL_MODE, CS_PARTICLE_LOCAL_EMITTER, CS_PARTICLE_WORLD_MODE }
 

Particle transformation mode.

More...

Detailed Description

Particle System Interface.

Definition in file particles.h.


Generated for Crystal Space 2.0 by doxygen 1.6.1