Properties

<CC3UniformlyMovingParticleProtocol> Protocol Reference

CC3UniformlyMovingParticleProtocol is a particle that moves in a straight line in a single direction at a steady speed. More...

#import <CC3ParticleSamples.h>

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

List of all members.

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 [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.


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