cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Particle3DRender Class Referenceabstract

3d particle render More...

#include <CCParticle3DRender.h>

Inheritance diagram for Particle3DRender:
Ref Particle3DModelRender Particle3DQuadRender PURender PUBeamRender PUParticle3DEntityRender PUParticle3DModelRender PURibbonTrailRender PUParticle3DBoxRender PUParticle3DQuadRender PUSphereRender

Public Member Functions

virtual void render (Renderer *renderer, const Mat4 &transform, ParticleSystem3D *particleSystem)=0
local render ( local renderer, local transform, local particleSystem)
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...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Public Attributes

CC_CONSTRUCTOR_ACCESS __pad0__: Particle3DRender() : _particleSystem(nullptr)

Protected Attributes

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...
 

Friends

class ParticleSystem3D

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Detailed Description

3d particle render

Constructor & Destructor Documentation

virtual ~Particle3DRender ( )
inlinevirtual
var ~Particle3DRender ( )
inlinevirtual
local ~Particle3DRender ( )
inlinevirtual

Member Function Documentation

CC_CONSTRUCTOR_ACCESS _depthTest ( true  )
var _depthTest ( var  )
local _depthTest ( local  )
CC_CONSTRUCTOR_ACCESS _depthWrite ( false  )
inline
var _depthWrite ( var  )
inline
local _depthWrite ( local  )
inline
CC_CONSTRUCTOR_ACCESS _isVisible ( true  )
CC_CONSTRUCTOR_ACCESS
_rendererScale
( Vec3::ONE  )
var _rendererScale ( var  )
local _rendererScale ( local  )
bool isVisible ( ) const
inline
var isVisible ( )
inline
local isVisible ( )
inline
virtual void notifyRescaled ( const Vec3 scale)
virtual

Notify that the Particle System is rescaled.

Reimplemented in PURibbonTrailRender.

var notifyRescaled ( var  scale)
virtual

Notify that the Particle System is rescaled.

Reimplemented in PURibbonTrailRender.

local notifyRescaled ( local  scale)
virtual

Notify that the Particle System is rescaled.

Reimplemented in PURibbonTrailRender.

virtual void notifyStart ( )
virtual

Perform activities when a Renderer is started.

var notifyStart ( )
virtual

Perform activities when a Renderer is started.

local notifyStart ( )
virtual

Perform activities when a Renderer is started.

virtual void notifyStop ( )
virtual

Perform activities when a Renderer is stopped.

var notifyStop ( )
virtual

Perform activities when a Renderer is stopped.

local notifyStop ( )
virtual

Perform activities when a Renderer is stopped.

virtual void render ( Renderer renderer,
const Mat4 transform,
ParticleSystem3D particleSystem 
)
pure virtual
var render ( var  renderer,
var  transform,
var  particleSystem 
)
pure virtual
local render ( local  renderer,
local  transform,
local  particleSystem 
)
pure virtual
virtual void setDepthTest ( bool  isDepthTest)
inlinevirtual
var setDepthTest ( var  isDepthTest)
inlinevirtual
local setDepthTest ( local  isDepthTest)
inlinevirtual
virtual void setDepthWrite ( bool  isDepthWrite)
inlinevirtual
var setDepthWrite ( var  isDepthWrite)
inlinevirtual
local setDepthWrite ( local  isDepthWrite)
inlinevirtual
void setVisible ( bool  isVisible)
inline
var setVisible ( var  isVisible)
inline
local setVisible ( local  isVisible)
inline

Friends And Related Function Documentation

friend class ParticleSystem3D
friend
var ParticleSystem3D
friend
local ParticleSystem3D
friend

Member Data Documentation

var __pad0__
local __pad0__
bool _depthTest
protected
var _depthTest
protected
local _depthTest
protected
bool _depthWrite
protected
var _depthWrite
protected
local _depthWrite
protected
bool _isVisible
protected
var _isVisible
protected
local _isVisible
protected
ParticleSystem3D* _particleSystem
protected
var _particleSystem
protected
local _particleSystem
protected
Vec3 _rendererScale
protected
var _rendererScale
protected
local _rendererScale
protected

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