#include <CCPURibbonTrailRender.h>
Public Member Functions | |
| virtual void | notifyRescaled (const Vec3 &scale) override |
| Notify that the Particle System is rescaled. More... | |
| var | notifyRescaled ( var scale) |
| Notify that the Particle System is rescaled. More... | |
| local | notifyRescaled ( local scale) |
| Notify that the Particle System is rescaled. More... | |
| virtual void | prepare () override |
| virtual void | unPrepare () override |
| virtual void | updateRender (PUParticle3D *particle, float deltaTime, bool firstParticle) override |
| virtual void | render (Renderer *renderer, const Mat4 &transform, ParticleSystem3D *particleSystem) override |
| virtual void | particleEmitted (PUParticleSystem3D *particleSystem, PUParticle3D *particle) override |
| virtual void | particleExpired (PUParticleSystem3D *particleSystem, PUParticle3D *particle) override |
| bool | isUseVertexColors (void) const |
| Getters and Setters. More... | |
| var | isUseVertexColors () |
| Getters and Setters. More... | |
| local | isUseVertexColors () |
| Getters and Setters. More... | |
| void | setUseVertexColors (bool useVertexColours) |
| size_t | getMaxChainElements (void) const |
| void | setMaxChainElements (size_t maxChainElements) |
| float | getTrailLength (void) const |
| void | setTrailLength (float trailLength) |
| float | getTrailWidth (void) const |
| void | setTrailWidth (float trailWidth) |
| bool | isRandomInitialColor (void) const |
| void | setRandomInitialColor (bool randomInitialColour) |
| const Vec4 & | getInitialColor (void) const |
| void | setInitialColor (const Vec4 &initialColour) |
| const Vec4 & | getColorChange (void) const |
| void | setColorChange (const Vec4 &colourChange) |
| void | destroyAll (void) |
| Deletes all ChildSceneNodes en Entities. More... | |
| virtual PURibbonTrailRender * | clone () override |
| local | clone () |
| virtual void | copyAttributesTo (PURender *render) override |
| local | copyAttributesTo ( local render) |
| virtual | ~PURibbonTrailRender () |
| void | updateParticles (const ParticlePool &pool) |
Public Member Functions inherited from PURender | |
| const std::string & | getRenderType (void) const |
| local | getRenderType () |
| void | setRenderType (const std::string &observerType) |
Public Member Functions inherited from Particle3DRender | |
| virtual void | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| var | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| local | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| virtual void | notifyStop () |
| Perform activities when a Renderer is stopped. More... | |
| void | setVisible (bool isVisible) |
| bool | isVisible () const |
| virtual void | setDepthTest (bool isDepthTest) |
| local | setDepthTest ( local isDepthTest) |
| virtual void | setDepthWrite (bool isDepthWrite) |
| CC_CONSTRUCTOR_ACCESS | _isVisible (true) |
| CC_CONSTRUCTOR_ACCESS | _rendererScale (Vec3::ONE) |
| CC_CONSTRUCTOR_ACCESS | _depthTest (true) |
| CC_CONSTRUCTOR_ACCESS | _depthWrite (false) |
| virtual | ~Particle3DRender () |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Public Member Functions inherited from PUListener | |
| PUListener () | |
| virtual | ~PUListener () |
Static Public Member Functions | |
| static PURibbonTrailRender * | create (const std::string &texFile="") |
| local | create () |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PURibbonTrailRender() |
Public Attributes inherited from PURender | |
| bool | autoRotate |
Public Attributes inherited from Particle3DRender | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: Particle3DRender() : _particleSystem(nullptr) |
Static Public Attributes | |
| static const bool | DEFAULT_USE_VERTEX_COLOURS |
| var | DEFAULT_USE_VERTEX_COLOURS |
| local | DEFAULT_USE_VERTEX_COLOURS |
| static const size_t | DEFAULT_MAX_ELEMENTS |
| var | DEFAULT_MAX_ELEMENTS |
| local | DEFAULT_MAX_ELEMENTS |
| static const float | DEFAULT_LENGTH |
| static const float | DEFAULT_WIDTH |
| static const bool | DEFAULT_RANDOM_INITIAL_COLOUR |
| var | DEFAULT_RANDOM_INITIAL_COLOUR |
| local | DEFAULT_RANDOM_INITIAL_COLOUR |
| static const Vec4 | DEFAULT_INITIAL_COLOUR |
| static const Vec4 | DEFAULT_COLOUR_CHANGE |
Protected Attributes | |
| std::vector < PURibbonTrailVisualData * > | _allVisualData |
| std::vector < PURibbonTrailVisualData * > | _visualData |
| local | _visualData |
| size_t | _quota |
| PURibbonTrail * | _trail |
| std::string | _ribbonTrailName |
| bool | _useVertexColours |
| size_t | _maxChainElements |
| float | _trailLength |
| float | _trailWidth |
| bool | _randomInitialColor |
| bool | _setLength |
| bool | _setWidth |
| Vec4 | _initialColor |
| Vec4 | _colorChange |
| Node * | _childNode |
| std::string | _texFile |
Protected Attributes inherited from PURender | |
| std::string | _renderType |
Protected Attributes inherited from Particle3DRender | |
| ParticleSystem3D * | _particleSystem |
| bool | _isVisible |
| Vec3 | _rendererScale |
| bool | _depthTest |
| bool | _depthWrite |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
static |
|
static |
|
static |
| void destroyAll | ( | void | ) |
Deletes all ChildSceneNodes en Entities.
| var destroyAll | ( | ) |
Deletes all ChildSceneNodes en Entities.
| local destroyAll | ( | ) |
Deletes all ChildSceneNodes en Entities.
| const Vec4& getColorChange | ( | void | ) | const |
| var getColorChange | ( | ) |
| local getColorChange | ( | ) |
| const Vec4& getInitialColor | ( | void | ) | const |
| var getInitialColor | ( | ) |
| local getInitialColor | ( | ) |
| size_t getMaxChainElements | ( | void | ) | const |
| var getMaxChainElements | ( | ) |
| local getMaxChainElements | ( | ) |
| float getTrailLength | ( | void | ) | const |
| var getTrailLength | ( | ) |
| local getTrailLength | ( | ) |
| float getTrailWidth | ( | void | ) | const |
| var getTrailWidth | ( | ) |
| local getTrailWidth | ( | ) |
| bool isRandomInitialColor | ( | void | ) | const |
| var isRandomInitialColor | ( | ) |
| local isRandomInitialColor | ( | ) |
| bool isUseVertexColors | ( | void | ) | const |
Getters and Setters.
| var isUseVertexColors | ( | ) |
Getters and Setters.
| local isUseVertexColors | ( | ) |
Getters and Setters.
|
overridevirtual |
Notify that the Particle System is rescaled.
Reimplemented from Particle3DRender.
|
overridevirtual |
Notify that the Particle System is rescaled.
Reimplemented from Particle3DRender.
|
overridevirtual |
Notify that the Particle System is rescaled.
Reimplemented from Particle3DRender.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Implements PUListener.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Implements Particle3DRender.
|
overridevirtual |
Implements Particle3DRender.
|
overridevirtual |
Implements Particle3DRender.
| void setColorChange | ( | const Vec4 & | colourChange | ) |
| var setColorChange | ( | var | colourChange | ) |
| local setColorChange | ( | local | colourChange | ) |
| void setInitialColor | ( | const Vec4 & | initialColour | ) |
| var setInitialColor | ( | var | initialColour | ) |
| local setInitialColor | ( | local | initialColour | ) |
| void setMaxChainElements | ( | size_t | maxChainElements | ) |
| var setMaxChainElements | ( | var | maxChainElements | ) |
| local setMaxChainElements | ( | local | maxChainElements | ) |
| void setRandomInitialColor | ( | bool | randomInitialColour | ) |
| var setRandomInitialColor | ( | var | randomInitialColour | ) |
| local setRandomInitialColor | ( | local | randomInitialColour | ) |
| void setTrailLength | ( | float | trailLength | ) |
| var setTrailLength | ( | var | trailLength | ) |
| local setTrailLength | ( | local | trailLength | ) |
| void setTrailWidth | ( | float | trailWidth | ) |
| var setTrailWidth | ( | var | trailWidth | ) |
| local setTrailWidth | ( | local | trailWidth | ) |
| void setUseVertexColors | ( | bool | useVertexColours | ) |
| var setUseVertexColors | ( | var | useVertexColours | ) |
| local setUseVertexColors | ( | local | useVertexColours | ) |
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
| void updateParticles | ( | const ParticlePool & | pool | ) |
| var updateParticles | ( | var | pool | ) |
| local updateParticles | ( | local | pool | ) |
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
| CC_CONSTRUCTOR_ACCESS __pad0__ |
| var __pad0__ |
| local __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |