CC3UniformlyMovingParticleProtocol is a particle that moves in a straight line in a single direction at a steady speed. More...
#import <CC3ParticleSamples.h>
Properties | |
CC3Vector | location |
CC3Vector | velocity |
CC3UniformlyMovingParticleProtocol is a particle that moves in a straight line in a single direction at a steady speed.
This protocol can be used with both point and mesh particles.
- (CC3Vector) location [read, write, assign] |
The current location of this particle in the local coordinate system of the emitter.
You can set this property to establish the starting location of the particle.
- (CC3Vector) velocity [read, write, assign] |
The velocity of this particle.
This vector combines both speed and direction, with the speed determined by the length of the vector.
Reimplemented in CC3SprayMeshParticle, and CC3SprayPointParticle.