Properties

CC3ParticleSystemBillboard Class Reference

A CC3Billboard node customized to display and manage a cocos2d 2D CCParticleSystem. More...

#import <CC3Billboard.h>

Inheritance diagram for CC3ParticleSystemBillboard:
Inheritance graph
[legend]
Collaboration diagram for CC3ParticleSystemBillboard:
Collaboration graph
[legend]

List of all members.

Properties

CC3AttenuationCoefficients particleSizeAttenuationCoefficients

Detailed Description

A CC3Billboard node customized to display and manage a cocos2d 2D CCParticleSystem.

This specialized subclass adds some specific features to aid with drawing particle systems, including:


Property Documentation

- (CC3AttenuationCoefficients) particleSizeAttenuationCoefficients [read, write, assign]

The coefficients of the attenuation function that affects the size of a particle based on its distance from the camera.

The sizes of the particles are attenuated according to the formula 1/sqrt(a + b * r + c * r * r), where r is the radial distance from the particle to the camera, and a, b and c are the coefficients from this property.

The initial value of this property is kCC3ParticleSizeAttenuationNone, indicating no attenuation with distance.


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