<CC3ParticleProtocol> Protocol Reference

The protocol required for particles emitted by this emitter. More...


Detailed Description

The protocol required for particles emitted by this emitter.

This implementation returns particles to be initialized. In a subclass, you may override to support more specific protocols, based on your needs for configuring particles. When doing so, your protocol must also conform to the base CC3ParticleProtocol protocol.

Because each configuration is unique, this library contains a number of building-block configuration protocols that may be applied to a particle. And you will often want to create your own particle configuration protocols. Since this property may contain only a single protocol, you can create a custom protocol that wraps all of the protocols that you want to use to configure your particle, and assign that custom protocol to this property.

For example, you may want to use both the CC3UniformlyFadingParticleProtocol and CC3UniformlyRotatingParticleProtocol protocols to configure a rotating, colored particle. To encompass both requirements, you should create another custom protocol that wraps (conforms to) both of those protocols, and assign it to this requiredParticleProtocol property.


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