#import <CC3PointParticles.h>
CC3PointParticle is a standard base implementation of the CC3PointParticleProtocol.
CC3PointParticle provides accessors for the particle normal and size.
- Deprecated:
- Use the init method instead, and set emitter property directly.
- Deprecated:
- Use the particle method instead, and set emitter property directly.
- (void) update: |
|
(CCTime) |
__deprecated |
|
- Deprecated:
- Replaced by the updateBeforeTransform: method.
|
readwritenonatomicunsafe_unretained |
Indicates whether this particle has vertex normal content, as determined by the vertexContentTypes property of the emitter.
Within an emitter, either all particles have normal content, or none do.
When this property returns YES, each particle will have a normal vector and will interact with light sources. When this property returns NO, each particle will ignore lighting conditions.
Indicates whether this particle has vertex size content, as determined by the vertexContentTypes property of the emitter.
Within an emitter, either all particles have size content, or none do.
When this property returns YES, each particle can be set to a different size. When this property returns NO, all particles will have the size specified by the particleSize property of the emitter.
If this particle has vertex normal content, (which can be checked with the hasNormal property), this property indicates the vertex normal that the particle uses to interact with light sources.
This property is automatically and dynamically adjusted by the emitter, based on the particle's orientation with respect to the camera. Unless you have specific reason to change this property, and know what you are doing, you should leave the value of this property alone.
If this particle does not have vertex normal content, this property will always return kCC3VectorZero. In this condition, it is safe to set this property, but changes will have no effect.
If this particle has individual size content, (which can be checked with the hasSize property), this property indicates the size at which this particle will appear.
If this particle has individual size content, you can set this property at any time to define the size of the particle.
If this particle does not have individual size content, this property will always return the value of the particleSize property of the emitter. In this condition, it is safe to set this property, but changes will have no effect.
The documentation for this class was generated from the following file: