v2.0.2
Properties | List of all members
<CC3UniformlyMovingParticleProtocol> Protocol Reference

#import <CC3ParticleSamples.h>

Inheritance diagram for <CC3UniformlyMovingParticleProtocol>:
Inheritance graph
[legend]

Properties

CC3Vector location
 
CC3Vector velocity
 

Detailed Description

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.

Property Documentation

- (CC3Vector) location
readwritenonatomicassign

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
readwritenonatomicassign

The velocity of this particle.

This vector combines both speed and direction, with the speed determined by the length of the vector.


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