#include <CCPUBeamRender.h>
Public Member Functions | |
| 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 |
| var | render ( var renderer, var transform, var particleSystem) |
| local | render ( local renderer, local transform, local particleSystem) |
| virtual void | particleEmitted (PUParticleSystem3D *particleSystem, PUParticle3D *particle) override |
| virtual void | particleExpired (PUParticleSystem3D *particleSystem, PUParticle3D *particle) override |
| bool | isUseVertexColours (void) const |
| Getters and Setters. More... | |
| void | setUseVertexColours (bool useVertexColours) |
| size_t | getMaxChainElements (void) const |
| void | setMaxChainElements (size_t maxChainElements) |
| float | getUpdateInterval (void) const |
| void | setUpdateInterval (float updateInterval) |
| float | getDeviation (void) const |
| void | setDeviation (float deviation) |
| size_t | getNumberOfSegments (void) const |
| local | getNumberOfSegments () |
| void | setNumberOfSegments (size_t numberOfSegments) |
| bool | isJump (void) const |
| void | setJump (bool jump) |
| PUBillboardChain::TexCoordDirection | getTexCoordDirection (void) const |
| local | getTexCoordDirection () |
| void | setTexCoordDirection (PUBillboardChain::TexCoordDirection texCoordDirection) |
| void | destroyAll (void) |
| Destroys the BillboarChain. More... | |
| virtual PUBeamRender * | clone () override |
| virtual void | copyAttributesTo (PURender *render) override |
| local | copyAttributesTo ( local render) |
| virtual | ~PUBeamRender () |
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... | |
| virtual void | notifyRescaled (const Vec3 &scale) |
| Notify that the Particle System is rescaled. More... | |
| local | notifyRescaled ( local scale) |
| Notify that the Particle System is rescaled. 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 PUBeamRender * | create (const std::string &texFile="") |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PUBeamRender() |
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_UPDATE_INTERVAL |
| static const float | DEFAULT_DEVIATION |
| static const size_t | DEFAULT_NUMBER_OF_SEGMENTS |
| static const PUBillboardChain::TexCoordDirection | DEFAULT_TEXTURE_DIRECTION |
Protected Attributes | |
| std::string | _texFile |
| std::string | _billboardChainName |
| PUBillboardChain * | _billboardChain |
| std::vector < PUParticle3DBeamVisualData * > | _allVisualData |
| std::vector < PUParticle3DBeamVisualData * > | _visualData |
| size_t | _quota |
| bool | _useVertexColours |
| size_t | _maxChainElements |
| float | _updateInterval |
| float | _deviation |
| size_t | _numberOfSegments |
| bool | _jump |
| PUBillboardChain::TexCoordDirection | _texCoordDirection |
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 | ) |
Destroys the BillboarChain.
| var destroyAll | ( | ) |
Destroys the BillboarChain.
| local destroyAll | ( | ) |
Destroys the BillboarChain.
| float getDeviation | ( | void | ) | const |
| var getDeviation | ( | ) |
| local getDeviation | ( | ) |
| size_t getMaxChainElements | ( | void | ) | const |
| var getMaxChainElements | ( | ) |
| local getMaxChainElements | ( | ) |
| size_t getNumberOfSegments | ( | void | ) | const |
| var getNumberOfSegments | ( | ) |
| local getNumberOfSegments | ( | ) |
| PUBillboardChain::TexCoordDirection getTexCoordDirection |
( | void | ) | const |
| var getTexCoordDirection | ( | ) |
| local getTexCoordDirection | ( | ) |
| float getUpdateInterval | ( | void | ) | const |
| var getUpdateInterval | ( | ) |
| local getUpdateInterval | ( | ) |
| bool isJump | ( | void | ) | const |
| var isJump | ( | ) |
| local isJump | ( | ) |
| bool isUseVertexColours | ( | void | ) | const |
Getters and Setters.
| var isUseVertexColours | ( | ) |
Getters and Setters.
| local isUseVertexColours | ( | ) |
Getters and Setters.
|
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 setDeviation | ( | float | deviation | ) |
| var setDeviation | ( | var | deviation | ) |
| local setDeviation | ( | local | deviation | ) |
| void setJump | ( | bool | jump | ) |
| var setJump | ( | var | jump | ) |
| local setJump | ( | local | jump | ) |
| void setMaxChainElements | ( | size_t | maxChainElements | ) |
| var setMaxChainElements | ( | var | maxChainElements | ) |
| local setMaxChainElements | ( | local | maxChainElements | ) |
| void setNumberOfSegments | ( | size_t | numberOfSegments | ) |
| var setNumberOfSegments | ( | var | numberOfSegments | ) |
| local setNumberOfSegments | ( | local | numberOfSegments | ) |
| void setTexCoordDirection | ( | PUBillboardChain::TexCoordDirection | texCoordDirection | ) |
| var setTexCoordDirection | ( | var | texCoordDirection | ) |
| local setTexCoordDirection | ( | local | texCoordDirection | ) |
| void setUpdateInterval | ( | float | updateInterval | ) |
| var setUpdateInterval | ( | var | updateInterval | ) |
| local setUpdateInterval | ( | local | updateInterval | ) |
| void setUseVertexColours | ( | bool | useVertexColours | ) |
| var setUseVertexColours | ( | var | useVertexColours | ) |
| local setUseVertexColours | ( | local | useVertexColours | ) |
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
overridevirtual |
Reimplemented from PURender.
|
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 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |