#import <CC3Billboard.h>
Additional Inherited Members | |
Instance Methods inherited from CC3Billboard | |
(void) | - addShadowVolumesForLight: |
(void) | - alignToCamera: |
(BOOL) | - doesIntersectBounds: |
(void) | - draw2dWithinBounds:withRenderer:withVisitor: |
(id) | - initWithBillboard: |
(id) | - initWithName:withBillboard: |
(id) | - initWithTag:withName:withBillboard: |
(void) | - populateAsBoundingRectangle |
(void) | - resetBillboardBoundingRect |
Class Methods inherited from CC3Billboard | |
(GLfloat) | + deviceScaleFactor |
(id) | + nodeWithBillboard: |
(id) | + nodeWithName:withBillboard: |
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:
|
readwritenonatomicassign |
|
readwritenonatomicassign |
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 kCC3AttenuationNone, indicating no attenuation with distance.
|
readwritenonatomicassign |
Indicates whether scheduled updates of the contained 2D billboard should continue when this node is outside the camera's view frustum.
This property is simply an alias for the parent shouldUpdateUnseenBillboard property, and exists for compatibility with the same property on the CC3MeshParticleEmitter class.
The initial value of this property is YES. You can set this property to NO to pause unnecessary update activity when the billboard is not in view.
The property does not affect any CCAction activities that might be running on the contained 2D billboard.