#import "CC3MeshNode.h"
#import "CC3VertexArrayMesh.h"
#import "CC3Camera.h"
Classes | |
class | CC3MortalPointParticle |
CC3MortalPointParticle is a type of CC3PointParticle that has a finite life. More... | |
class | CC3MortalPointParticleEmitter |
CC3MortalPointParticleEmitter emits particles of type CC3MortalPointParticle. More... | |
class | CC3PointParticle |
CC3PointParticle is an abstract class that represents a single particle emitted by a CC3PointParticleEmitter. More... | |
class | CC3PointParticleEmitter |
A CC3MeshNode that emits 3D point particles. More... | |
class | CC3PointParticleMesh |
A mesh whose vertices are used to display point particles. More... | |
class | CC3UniformEvolutionParticle |
CC3UniformEvolutionParticle is a type of CC3MortalPointParticle that moves in a straight line in a single direction at a steady speed, and which can optionally have color and size that linearly move from an intitial color and size to a final color and size. More... | |
class | CC3UniformMotionParticle |
CC3UniformMotionParticle is a type of CC3MortalPointParticle that moves in a straight line in a single direction at a steady speed. More... | |
Typedefs | |
typedef uint | CC3PointParticleVertexContent |
Variables | |
static const GLfloat | kCC3DefaultParticleSize = 32.0 |
static const ccTime | kCC3ParticleInfiniteEmissionRate = CGFLOAT_MAX |
static const ccTime | kCC3ParticleInfiniteInterval = CGFLOAT_MAX |
static const GLfloat | kCC3ParticleSizeMaximumNone = CGFLOAT_MAX |
static const GLfloat | kCC3ParticleSizeMinimumNone = 1.0 |
static const CC3PointParticleVertexContent | kCC3PointParticleContentColor = 1 << 1 |
static const CC3PointParticleVertexContent | kCC3PointParticleContentLocation = 0 |
static const CC3PointParticleVertexContent | kCC3PointParticleContentNormal = 1 << 0 |
static const CC3PointParticleVertexContent | kCC3PointParticleContentSize = 1 << 2 |
typedef uint CC3PointParticleVertexContent |
Variable type that holds a bitwise-OR of flags enumerating the types of content that should be included in the point particles.
Valid components of this type include:
const GLfloat kCC3DefaultParticleSize = 32.0 [static] |
Default size for particles.
const ccTime kCC3ParticleInfiniteEmissionRate = CGFLOAT_MAX [static] |
Constant representing an infinite rate of emission.
This can be used with the emissionRate property, and indicates that all particles should be emitted at once.
const ccTime kCC3ParticleInfiniteInterval = CGFLOAT_MAX [static] |
Constant representing an infinite interval of time.
This can be used with the emissionDuration and emissionInterval properties.
const GLfloat kCC3ParticleSizeMaximumNone = CGFLOAT_MAX [static] |
Constant used with the particleSizeMaximum property to indicate no maximum size for particles, beyond any platform limit.
const GLfloat kCC3ParticleSizeMinimumNone = 1.0 [static] |
Constant used with the particleSizeMinimum property to indicate no minimum size for particles.
const CC3PointParticleVertexContent kCC3PointParticleContentColor = 1 << 1 [static] |
Bitwise-OR component of CC3PointParticleVertexContent variables that indicates each particle should contain its own color information.
This component is required if and only if each particle will have its own color. If this component is not included, all particles will have the color specified by the diffuseColor property of the material of the emitter node.
const CC3PointParticleVertexContent kCC3PointParticleContentLocation = 0 [static] |
Bitwise-OR component of CC3PointParticleVertexContent variables that indicates each particle should contain its own location information.
Particles always include location info, and so use of this component is optional.
const CC3PointParticleVertexContent kCC3PointParticleContentNormal = 1 << 0 [static] |
Bitwise-OR component of CC3PointParticleVertexContent variables that indicates each particle should contain its own vertex normal information.
This component is required if and only if the particles are to interact with light sources.
const CC3PointParticleVertexContent kCC3PointParticleContentSize = 1 << 2 [static] |
Bitwise-OR component of CC3PointParticleVertexContent variables that indicates each particle should contain its own size information.
This component is required if and only if each particle will have its own size. If this component is not included, all particles will have the size specified by the particleSize property of the emitter node.